LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS for local items with no .localdomain (https://www.linuxquestions.org/questions/linux-networking-3/dns-for-local-items-with-no-localdomain-109092/)

taggedd 10-27-2003 11:31 AM

DNS for local items with no .localdomain
 
I have some items that require a host name of AvayaCallServer for resolution. The device can't have a domain affiliation and niether can the AvayaCallServer. How do I set this up in DNS so that any reference to AvayaCallServer routes to 192.168.3.17?

Thanks.
Tim.

zaphod_es 10-27-2003 01:05 PM

Adding this line to /etc/hosts should do it.

192.168.3.17 AvayaCallServer

The location of hosts may vary with you distro.

ZB

taggedd 10-27-2003 01:33 PM

Did that, but for some reason Bind isn't picking it up. I also verified in named.conf that it use files first. Additional thoughts?

Regards.
Tim.

taggedd 10-27-2003 01:36 PM

Not named, but the config for bind.

zaphod_es 10-27-2003 02:18 PM

I am glad I used the word "should" and not "will" :)

This is not my area of expertise but does bind look at the hosts file? I ask that as, like most people, I do not run a DNS server but we do connect to hosts in the hosts file. I thought it looked in hosts and only then referred to bind if necessary.

Sorry, that is as good as I can do.

ZB

taggedd 10-27-2003 02:40 PM

No problem. I'm kind of in the same boat you are. Thanks for the reply.

Regards.
Tim.


All times are GMT -5. The time now is 09:22 PM.