Re: DNS and its IP for Linux
"HL" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <17d601c3233b$88e97630$6501a8c0@oemcomputer> |
Thanks for help. When I type command "cat /etc/resolv.conf" and find two IPs, but the server doesn't have specific name server such as ns1.xxx.com and ns2.xxx.com ... ? How could I have specific name server with respective IPs ? HL ----- Original Message ----- From: "Eric Koldeweij" <[email protected]> To: <[email protected]> Sent: Sunday, May 25, 2003 4:42 AM Subject: Re: DNS and its IP for Linux > > >Have some questions for our Redhat Linux : > > > >1. How to find out what DNS and its respective for the Linux server ? > > > > > I think you mean here "What name servers are being used for name > resulotion?" > The answer is "cat /etc/resolv.conf" In there you will find one or more > lines saying "nameserver" followed by an IP address. Those are the name > servers being used, in order. You can specify up to three nameservers. > > >2. How to find out what host name/address for the Linux server ? > > > > Use the command "hostname" to display the assigned hostname. Use the > command "ifconfig" to see all IP addresses assigned to the box. > > Eric. > > > _______________________________________________ > enigma-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/enigma-list