Operating System - HP-UX
1829628 Members
1708 Online
109992 Solutions
New Discussion

Re: To stop sending requests to DNS

 
mparasur
Advisor

To stop sending requests to DNS

Hi All,

I need to stop sending DNS requests from few servers to few DNS servers in our network as the requests are not allowed by firewalls and it will increase the drop log.
Can anyone help me how can I do this

Thanks in Advance
Mani
2 REPLIES 2
Hasan  Atasoy
Honored Contributor

Re: To stop sending requests to DNS

hi mprasur ;

as far as I understand you dont want your servers to resolve hostname and ip's from dns servers. resolve from locally.

if so ;

you need to remove /etc/resolv.cnf file to another name /etc/resolve.conf.org
and
change /etc/nsswitch.conf file. remobe dns entries from hosts entry.

Hasan.
Patrick Wallek
Honored Contributor

Re: To stop sending requests to DNS

Remove the DNS servers in question from the /etc/resolv.conf file on the servers sending the requests.