setting up bind for the first time.

Treptow, Craig Treptow.Craig at principal.com
Tue Apr 24 19:22:22 UTC 2001


I believe you just need an entry for the server itself.  This is a limitation of nslookup.  Check out the "dig" command, and check out the archives at:

http://marc.theaimsgroup.com/?l=bind-users

> -----Original Message-----
> From: Andrew P [mailto:bluelight83 at hotmail.com]
> Sent: Tuesday, April 24, 2001 11:49 AM
> To: comp-protocols-dns-bind at moderators.isc.org
> Subject: setting up bind for the first time.
> 
> 
> Hello all,
> 
> I am setting up bind for the first time. My file 
> configurations are listed
> below. I am getting an error message when I try to do a 
> nslookup on my IP
> address. The error message is:
> 
> [root at cr562753-a named]# nslookup 24.157.15.174
> *** Can't find server name for address 24.157.15.174: No response from
> server
> *** Default servers are not available
> 
> 24.157.15.174 is my IP address. I have a cable connection to 
> the internet
> and setup using dhcp. What have I done so far to setup DNS? I 
> have went to
> my registrar and setup a nameserver called 
> ns1.e-webmentor.com but the whois
> records have not been updated as of yet to reflect the change to this
> nameserver. However, I think I should be able to resolve DNS for my IP
> address from the server. I used linuxconf to configure my DNS 
> settings, the
> IP address for my DNS server is 24.157.15.174 and the search 
> domain I've
> tried as my host name with my ISP which is cr562753-a and 
> e-webmentor.com.
> Nothing seems to work. What am I missing here? Is a caching 
> name server a
> more practical setup?
> 
> named.conf
> 
> logging {
>         category cname { null; };
> };
> 
> options {
>         directory "/var/named";
>         };
> };
> 
> zone "." {
>         type hint;
>         file "named.ca";
> };
> zone "e-webmentor.com" {
>         type master;
>         file "e-webmentor.com";
> };
> zone "15.157.24.IN-ADDR.ARPA" {
>         type master;
>         file "24.157.15";
> };
> 
> 
> zone "0.0.127.in-addr.arpa" {
>         type master;
>         file "named.local";
> };
> ***************************************************
> e-webmentor.com
> 
> 
> ; Authoritative data for ns1.e-webmentor.com
> ;
> @       IN SOA e-webmentor.com postmaster.e-webmentor.com. (
>                                         2001042400 ; Serial number
>                                         10800      ; Refresh 3 hours
>                                         3600       ; Retry 1 hour
>                                         3600000    ; Expire 1000 hours
>                                         86400 )    ; Minimum 24 hours
>                 IN      NS              ns1.e-webmentor.com
>                 IN      A               24.157.15.174
> e-webmentor     IN      A               24.157.15.174
>                 IN      MX      10      MAIL.OEMMAIL.COM
> THEMAIL         IN      CNAME           web.oemmail.com
>                 IN      HINFO   PC-586  LINUX
> localhost       IN      A               127.0.0.1
> *****************************************************************
> 24.157.15
> 
> ; reverse mapping of domain names 15.157.24.in-addr.arpa
> ;
> @       IN SOA ns1.e-webmentor.com postmaster.e-webmentor.com. (
>                                 2001042400 ; Serial (yymmddxx format)
>                                 10800      ; Refresh 3 hours
>                                 3600       ; Retry 1 hour
>                                 3600000    ; Expire 1000 hours
>                                 86400 )    ; Minimum 24 hours
> @                       IN      NS      ns1.e-webmentor.com
> 174.15.157.24           IN      PTR     e-webmentor.com
> *********************************************************************
> named.local
> 
> 
> @       IN      SOA     localhost. root.localhost.  (
>                                       2001042400 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
>               IN      NS      e-webmentor.com.
> 
> 1       IN      PTR     localhost.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the bind-users mailing list