Operating System - Linux
1832308 Members
2499 Online
110041 Solutions
New Discussion

Dear U.SivaKumar, regarding to dns setting

 

Dear U.SivaKumar, regarding to dns setting

Dear U.sivakumar,

regarding to our dns setting, i can set up the dns via
#setup
while i have gone in the menu, setting in the networking option, i think you have got what my said.

ok, while i thougth that the dns is only relate to the two files /etc/nsswitch.conf, /etc/resolv.conf,
i think i can modify by manuel, however, even if i have set the nameserver=mydnsip in resolv.conf,
and file dns nis sequence is ok in /etc/nsswitch,

even after i restart the network, i can not ping www.yahoo.com for it is ip yet.
that is what my question, why i can set up in menu and i can not set up by manuel??

thanks for your privous replies.

frederick
frederick
1 REPLY 1
U.SivaKumar_2
Honored Contributor

Re: Dear U.SivaKumar, regarding to dns setting

Hi,
Do you have internet connection from your server ?. if yes , you have to ask for your
ISP's name server ip addresses.
Now in linux server's resolv.conf -
domain your.isp.net
nameserver "your_isp_nameserver_ip"
And in nsswitch.conf
hosts: dns nis files
NOw try ping to ISP's name server
ping X.X.X.X ( isp name server ip )
if it is reachable , you will able query isp name server for internet names also.
eg:-
#ping www.yahoo.com
should work.

regards,
U.SivaKumar


Innovations are made when conventions are broken