A little problem ~

Joseph S D Yao jsdy at cospo.osis.gov
Fri Dec 10 20:03:50 UTC 1999


On Fri, Dec 10, 1999 at 01:33:00PM -0500, wwebb at adni.net wrote:
> Upgraded the server, lost a few files and I would be grateful for a 
> any assistance with what to tweek with named, version 8.2.2-P5 
> 
> Named loads and responds authoritatively for its zones and reports 
> no error message in the log;  when I run nslookup, I get:
> 
> Default Server:  glr.cap.gov
> Address:  0.0.0.0
> 
> Previously, when named was working well, it would give the 
> address 198.88.0.19  ??

Change the address in /etc/resolv.conf.

> When I run nslookup 198.88.0.19, it produces:
> glr.cap.gov can't find 198.88.0.19: Non-existent host/domain
> 
> I have gone through the DNS and BIND book and the answer to fix 
> the problem escapes me.  Here are other file entries:
> 
> named.conf:
> 
> options {
>         directory "/var/named";
> };
> 
> zone "." in {
>         type hint;
>         file "root.cache";
> };
> 
> zone "0.0.127.in-addr.arpa" in {
>         type master;
>         file "db.127.0.0";
> };
> 
> zone "cap.gov"  {
>         type master;
>         file "pz/cap.gov";
>         allow-transfer { 204.69.234.1; 204.69.234.2; 209.98.47.196; 
> 207.152.31.
> 
> 
> zone "cap.gov"  {   
>         type master;
>         file "pz/cap.gov";
>         allow-transfer { 204.69.234.1; 204.69.234.2; 209.98.47.196; 
> 207.152.31.
> };
>   
> zone "198.88.0.in-addr.arpa" in  {
>         type master;
>         file "pz/0.88.198";
> };
> <snip>
> 
> /pz/0.88.198 file:
> 
> 198.88.0.in-addr.arpa.  IN SOA  glr.cap.gov. wwebb.adni.net. (
>                 1999120701 86400 10800 2592000 86400 )
> 
> ; Name servers
> 198.88.0.in-addr.arpa.  IN NS  glr.cap.gov.
> 
> ; Addresses point to canonical name
> 1.198.88.0.in-addr.arpa.  IN PTR  ns1.cap.gov.
> 2.198.88.0.in-addr.arpa.  IN PTR  glr.cap.gov.

In named.conf, change
	zone "198.88.0.in-addr.arpa" in  {
to
	zone "0.88.198.in-addr.arpa" in  {

In file "pz/0.88.198", edit: g/198.88.0/s//0.88.198/g.  In fact, I'd
change it all to:

/pz/0.88.198 file:

@	IN SOA	glr.cap.gov. wwebb.adni.net. (
		1999120701
		86400
		10800
		2592000
		86400 )

; Name servers
	IN NS	glr.cap.gov.

; Addresses point to canonical name
1	IN PTR	ns1.cap.gov.
2	IN PTR	glr.cap.gov.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list