Kurt Neufeld wrote:

> I setup a DNS server on my machine last night with my own 'domain', and it
> works great. 
> 
> However, I have a question. In my file I have
> 
> news            CNAME   news.cgra1.ab.wave.home.com.
> www             CNAME   www.cgra1.ab.wave.home.com.
> mail            CNAME   mail.cgra1.ab.wave.home.com.
> 
> and I can just put 'mail' in eudora and it automatically goes out to the
> proper server and life is good. 
> 
> But in nslookup when I type in mail I get:
> Name:    lh1.rdc1.ab.wave.home.com
> Address:  24.64.2.54
> Aliases:  mail.mydomain.net, mail.cgra1.ab.wave.home.com
> 
> My question is the alias mail.mydomain.net. Will this ever cause a problem
> and can I/should I get rid of this and do it another way.

It shouldn't matter that you have aliases.

> While I'm asking questions, is there no way for DNS to look at my hosts
> file instead of me having to type in:
> workstation1           A       192.168.1.2
> etc...
> 
> And yes, my host.conf file says "order hosts,bind" but DNS doesn't seem to
> look at that file, so from my windows machines, the hosts file might as
> well not exist.

named will never consult /etc/hosts. /etc/hosts is used solely by the
resolver (e.g. gethostbyname), and will only affect clients which are
running on the local host.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to