nslookup

Azfar Kazmi azkazmi at yahoo.com
Sat Nov 13 06:33:22 UTC 1999


I am having the same problem. Although I do have a reverse zone specified
but it doesn't work. Using BIND 8.2.0 on Redhat 6.0 kernel 2.2.5. Here are
my file:

>>>>>>>>>>>>>>>>>
#/etc/named.conf
options {
	directory "/var/named";
	/*
	 * If there is a firewall between you and nameservers you want
	 * to talk to, you might need to uncomment the query-source
	 * directive below.  Previous versions of BIND always asked
	 * questions using port 53, but BIND 8.1 uses an unprivileged
	 * port by default.
	 */
	// query-source address * port 53;
};

// 
// a caching only nameserver config
// 
zone "." {
	type hint;
	file "named.ca";
};

zone "0.0.127.in-addr.arpa" {
	type master;
	file "named.local";
};

zone "mydomain.com" {
	type master;
	file "mydomain.com";
};

zone "1.1.1.in-addr.arpa" {
	type master;
	file "1.1.1";
};

#/var/named/named.local
@       IN      SOA     localhost. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      localhost.

1       IN      PTR     localhost.

#/var/named/mydomain.com
@       IN      SOA     mydomain.com. root.myhost.mydomain.com.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      myhost.mydomain.com.

myhost	A	1.1.1.1	

#/var/named/1.1.1
@       IN      SOA     mydomain.com. root.myhost.mydomain.com.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      myhost.mydomain.com.

1	PTR	myhost.mydomain.com.

#/etc/resolv.conf
search mydomain.com
nameserver 1.1.1.1

<<<<<<<<<<<<<<<<<<<<<<<<<

I have setup these things before but can't figure out what\s missing.

-Azfar Kazmi

--- Joseph S D Yao <jsdy at cospo.osis.gov> wrote:
> On Thu, Nov 11, 1999 at 12:37:15AM -0500, Michael Dang wrote:
> > Thanks for the response.  What the most common mistake that cause
> problem
> > like that?  I just try to narrow down my search for errors here.
> > 
> > Thanks,
> > 
> > Mike D.
> 
> As I said before,
> 
> > Almost certainly you have failed to configure reverse DNS.
> 
> I mean you DO NOT HAVE a reverse DNS domain configured.  PERIOD.
> 
> I guess it's that time of the week again.
> 
> > Subject: Reverse DNS, IP addr -> name via PTR
> > Date: Thu, 5 Aug 1999 13:27:38 -0400 (EDT)

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


More information about the bind-users mailing list