[CentOS] Caching nameserver -- Name Services Cache Daemon (nscd)

Wed Aug 10 12:25:44 UTC 2005
William Warren <hescominsoon at emmanuelcomputerconsulting.com>

dig to localhost says:
[root at enoch ~]# dig localhost

; <<>> DiG 9.2.4 <<>> localhost
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2833
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              86400   IN      A       127.0.0.1

;; AUTHORITY SECTION:
localhost.              86400   IN      NS      localhost.

;; ADDITIONAL SECTION:
localhost.              86400   IN      A       127.0.0.1

;; Query time: 6 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Aug 10 08:24:15 2005
;; MSG SIZE  rcvd: 73


nslookup still says:

[root at enoch ~]# dig localhost

; <<>> DiG 9.2.4 <<>> localhost
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2833
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              86400   IN      A       127.0.0.1

;; AUTHORITY SECTION:
localhost.              86400   IN      NS      localhost.

;; ADDITIONAL SECTION:
localhost.              86400   IN      A       127.0.0.1

;; Query time: 6 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Aug 10 08:24:15 2005
;; MSG SIZE  rcvd: 73


It's starting to look like maybe a OS reinstall?

Johnny Hughes wrote:
> On Wed, 2005-08-10 at 00:27 -0500, Les Mikesell wrote:
> 
>>On Tue, 2005-08-09 at 17:22, William Warren wrote:
>>
>>
>>>So i did this:
>>> >nslookup hotmail.com
>>>(on my winders box)
>>>and i got this:
>>>*** Can't find server name for address 192.168.0.200: Non-existent domain
>>
>>I think this is only fatal with nslookup, but DNS servers should be
>>able to reverse-resolve their own IP address to a name and apparently
>>your forwarding server doesn't know your private addresses either.
>>What does 'dig @localhost' say on the box itself?
>>
>>The right fix is to configure either this or the upstream server
>>as primary for the 192.168.0 zone.  Otherwise you'll toss thousands
>>of these queries up to the root servers.
>>
>>zone "0.168.192.in-addr.arpa" IN {
>>       type master;
>>       file "192.168.0.arpa";
>>       allow-update { none; };
>>};
>>If you don't know the format for the zone file mentioned, you
>>might want to use webmin to build it.
>>
>>
>>
>>>The box's name is Enoch.emmanuelcomputerconsulting.com
>>>ip is 192.168.0.200 set statically.
>>
>>Does your upstream server resolve that domain or your private
>>addresses?
>>
> 
> BTW, there is a package called caching-nameserver ... 
> 
> yum install caching-namesever
> 
> will give you a good working caching nameserver
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
My "Foundation" verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and 
every tongue that shall rise against thee in judgment thou shalt 
condemn. This is the heritage of the servants of the LORD, and their 
righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/