1825694 Members
3377 Online
109686 Solutions
New Discussion

Nameserver

 
O'lnes
Regular Advisor

Nameserver

I am seting up a new system, can suggest how to config the /etc/resolv.conf file,
what 'domain' and 'nameserver' should add to?
Thanks
Andy
9 REPLIES 9
U.SivaKumar_2
Honored Contributor

Re: Nameserver

Hi,
/etc/resolv.conf
domain
nameserver xx.xx.xx.xx

where xx.xx.xx.xx is the DNS server for your
domain.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Marc Dijkstra
Trusted Contributor

Re: Nameserver

Hi,

A set_parms addl_netwrk will do the neccessary for you....

MND
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila"
T G Manikandan
Honored Contributor

Re: Nameserver

you can do the way siva has given.
ALso you can go with simpler method like using

set_parms addl_netwrk

to configure that.


This automatically makes entries into resolv.conf file

Thanks
O'lnes
Regular Advisor

Re: Nameserver

Sorry to my igorance, can briefly explain how to use the file set_parms addl_netwrk , do i need to modify the file ? Thanks.

Andy
Marc Dijkstra
Trusted Contributor

Re: Nameserver

It is a command

man set_parms

But the addl_netwrk is the argument, it will guide you thru the domain, subnet NIS etc setups...

MND
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila"
Ravi_8
Honored Contributor

Re: Nameserver

Hi
Enter the command
#set_parms addl_netwrk

this will first ask you the subnet,gateway IP's, then in the next step it ask you for Domain name and name server IP.
Giving all these info will create you the /etc/resolv.conf file
never give up
Anu Mathew
Valued Contributor

Re: Nameserver

Hi,

The man page gives details of all available options that can be set in resolv.conf.

Try

# man resolv.conf

Hope this helps.

Thanks

Anu Mathew
Sean OB_1
Honored Contributor

Re: Nameserver

The easiest in my opinion is simply to edit the resolv.conf file. /etc/resolv.conf

Domain is your domain. nameserver is the ip address of the DNS server that you want to hit. You can list multiple DNS servers and it will hit them in order. So if one is down it will try the next one.



domain
nameserver nnn.nnn.nnn.nnn
nameserver nnn.nnn.nnn.nnn

O'lnes
Regular Advisor

Re: Nameserver

I can't man 'set_parms' , what rpm should be setup? Thanks.
Andy