[NTLUG:Discuss] Slow connection to pop3
Bug Hunter
bughuntr at one.ctelcom.net
Wed Jul 17 08:27:21 CDT 2002
nope. Dig does a query straight to a dns server.
to see if /etc/hosts is working, try
ping host4.homexcorp.com
if it comes back immediately with a ping to 129.168.1.4, then hosts is
being used on that machine.
If it hangs for 30 seconds or so, then /etc/hosts is not being used.
On Tue, 16 Jul 2002, Neil Aggarwal wrote:
> Bug:
>
> This is strange, I added this to my /etc/hosts file:
> 192.168.1.4 host4.homexcorp.com
>
> My /etc/host.conf looks like:
> order hosts,bind
> multi on
>
> I then started named by typing /etc/init.d/named start
>
> Then, I treid to do a reverse lookup using dig:
> dig @127.0.0.1 -x 192.168.1.4
>
> Here is what I got back:
> ; <<>> DiG 9.2.0 <<>> @127.0.0.1 -x 192.168.1.4
> ;; global options: printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63996
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;4.1.168.192.in-addr.arpa. IN PTR
>
> ;; AUTHORITY SECTION:
> 168.192.in-addr.arpa. 10800 IN SOA prisoner.iana.org.
> hostmaster.root-servers.org. 2002040800 1800 900 604800 604800
>
> ;; Query time: 1061 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Jul 16 20:09:33 2002
> ;; MSG SIZE rcvd: 119
>
> There is no answer section. I thought that the hosts file should have been
> checked first and then I would get an answer.
>
> Any ideas?
>
> Thanks,
> Neil.
More information about the Discuss
mailing list