Re: DNS and its IP for Linux
"HL" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <005c01c32389$e4983d60$6501a8c0@oemcomputer> |
Thanks for your explanation. Just never do this part and no knowledge and experience. I just answer one email regarding to question why I asked a particular name. I assume that I need some sort of DNS name for a domain, then set up a virtual domain at the server. HL ----- Original Message ----- From: "Eric Koldeweij" <[email protected]> To: <[email protected]> Sent: Sunday, May 25, 2003 4:53 PM Subject: Re: DNS and its IP for Linux > HL wrote: > > >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 ? > > > > Uhmm..... If you think about it it'll come to you I'm sure :) > No? OK... To translate names into IP numbers you have to know where your > nameserver is to be found. Therefore the resolv.conf is consulted, to > find the name servers. If you'd put a name (like ns.mydomain.com) in > there it'd need to resolve that name first. So it consults resolv.conf, > finds a name there, and the story never ends :) > > Why would you want to find ns.xxx.com there anyway? In resolv.conf are > IP addresses of valid nameservers. It does absolutely *NOT* matter WHICH > name servers they are, as long as they accept queries (requests) from > clients. There are zillions of those on the Net. You can pick any one > you want, though it's probably best (fastest) to use the name servers > your administrator/ISP provides for you. > > I think you do not grasp the difference between name servers and name > resolution. Name resolution is done by clients (non-nameservers) and it > is done by the client asking a nameserver to translate a name into a > number (or vice versa). It is done for every address not just the ones > in your domain, and you don't need to run a name server yourself to have > those addresses translated. > > I recommend reading material on it like the DNS-Howto or the masterpiece > book "DNS and Bind" (ISBN 0-596-00158-4) > > Eric. > > > _______________________________________________ > enigma-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/enigma-list