large uploads from server

Support for security such as Firewalls and securing linux
User avatar
avij
Forum Moderator
Posts: 2676
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: large uploads from server

Post by avij » 2018/06/01 10:38:14

If your /etc/resolv.conf points to some other nameserver than 127.0.0.1 and there are no other clients in your LAN that need DNS resolving services, yes, you can set recursion no;. Otherwise see my previous message.

westconn
Posts: 8
Joined: 2011/02/21 08:00:57

Re: large uploads from server

Post by westconn » 2018/06/02 11:49:50

If your /etc/resolv.conf points
nothing in resolve.conf, except reference to network_scripts,
# Generated by NetworkManager


# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
now the server can not resolve names, though it does still resolve my domain, but not google or my isp
is it better to allow the server to just use the isp name server through the router?

User avatar
avij
Forum Moderator
Posts: 2676
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: large uploads from server

Post by avij » 2018/06/03 14:21:59

Adding recursion yes; and allow-recursion { localhost; }; to the options block in your /etc/named.conf should fix this.

westconn
Posts: 8
Joined: 2011/02/21 08:00:57

Re: large uploads from server

Post by westconn » 2018/06/04 12:15:40

thank you, i left recursion no and put the router ip for dns in reslove.conf
every thing seems to work correctly,
i do not need to query my own dns server for anything i can think of, none of the other computers on the network were anyway

Post Reply