How can I get bind to resolve military host names? Like gw1.usace.army.mil
How can I get bind to resolve military host names? Like gw1.usace.army.mil
Here are the results with bind: Code:
root@server [~]# host gw1.usace.army.mil 69.xx.xx.xx Code:
Host gw1.usace.army.mil not found: 3(NXDOMAIN) |
Stick an entry in /etc/hosts for it.
I pinged it, got the address, but it doesn't respond to ping (which I would expect -- it's military). The form for an /etc/hosts entry would be Code:
140.194.153.1 gw1.usace.army.mil Quick and dirty but effective. Hope this helps some. |
Any other methods? If they ever change the IP of their mail server. then mail will not go through.
Why would Google's dns be picking it up, but not a bind nameserver? |
I don't know enough about BIND to know what it uses for a data base -- I suspect that whatever that may be does not have an entry for it. whois 140.194.153.1 does return information about the network assignment, which you may be able to use but I just don't know enough to know that.
The /etc/hosts method is workable and may be the simplest way to accomplish what you want but, over time, addresses may change and require a change in the /etc/hosts file. Hopefully somebody more knowledgeable may be able to jump in and give you an workable answer. |
Quote:
|
Where would that configuration be set at?
|
It should be in /var/named, though I have seen it in other directories too. It even may depend on the distribution you are using. The file is named /var/named/named.ca and contains the references to the A-M list (mine has x.ROOT-SERVERS.NET.) each server has multiple instances (.net, .mil, .com, ...). These will respond for both IPv4 and IPv6 addresses.
Now the file may exist - but the bind process must be looking in the right place. One other possibility (if everything is right) is that your IPv6 is slow to respond, this can make things appear to not work. Usually this causes intermittent failures where a second try (immediately) works, but one that waits a couple of minutes has another timeout. Usual fix is to disable IPv6. |
All times are GMT -5. The time now is 03:00 PM. |