What causes 'Can't find server name for address' error?

Michael Kjorling michael at kjorling.com
Fri May 4 19:21:35 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You should be able to see a lot of things wrong. First, an IPv4 octet
is only 8 bits, so the maximum possible value is 2^8-1, or 255. Thus
both 333 and 444 is invalid.

Also, how do you think BIND should resolve something it has no idea
about? I don't have the docs easily at hand right now so I'll leave
whether specifying all four octets in an in-addr.arpa zone is valid or
not to someone else to answer; but you definitely have to put in a
record for your IP.

Try adding this to your 111.222.333.444.rev, and use valid IPs:

	@ IN PTR mydomain.com.

This should be documented in the ARM, as well.


Michael Kjörling


On Fri, 4 May 2001, lynton wrote:

> I got a server and am trying to setup BIND (8.2.3) but get the
> following error when doing nslookup. I read thru the mailing list
> archives and found something may be wrong with the reverse lookup
> file, but I can't see anything wrong with it (or the other files). The
> files are given below.
> Please help if possible.
>
> *** Can't find server name for address 111.222.333.444: No information
> *** Default servers are not available
>
> I made these files for mydomain.com and IP 111.222.333.444 (actual
> domain name and IP substituted later)
> db.cache is the root cache data available at
> ftp://ftp.rs.internic.net/ but not displayed down here
>
> named.conf__________________________________________________________________
>
> options {
>         directory "/etc/namedb";
>         pid-file "/var/run/named.pid";
>         };
>
> zone "." {
>         type hint;
>         file "/etc/namedb/db.cache";
>         };
>
> zone "mydomain.com" {
>         type master;
>         file "/etc/namedb/mydomain.com.hosts";
>         };
>
> zone "444.333.222.111.in-addr.arpa" {
>         type master;
>         file "/etc/namedb/111.222.333.444.rev";
>         };
>
>
>     zone "0.0.127.IN-ADDR.ARPA" {
>             type master;
>             file "localhost.rev";
>     };
>
>
>
> mydomain.com.hosts__________________________________________________________________
>
> $ttl 38400
> mydomain.com.      IN      SOA     mydomain.com. dns.mydomain.com. (
>                         988864461
>                         10800
>                         3600
>                         432000
>                         38400 )
> mydomain.com.      IN      NS      mydomain.com.
>
>
>
>
> 111.222.333.444.rev__________________________________________________________________
>
> $ttl 38400
> 444.333.222.111.in-addr.arpa.     IN      SOA     mydomain.com.
> dns.mydomain.com. (
>                         988864515
>                         10800
>                         3600
>                         432000
>                         38400 )
> 444.333.222.111.in-addr.arpa.     IN      NS      mydomain.com.
>
>
>
>
> localhost.rev__________________________________________________________________
>
> $TTL    3600
>
> @       IN      SOA     mydomain.com. root.mydomain.com.  (
>                                 20010123        ; Serial
>                                 3600    ; Refresh
>                                 900     ; Retry
>                                 3600000 ; Expire
>                                 3600 )  ; Minimum
>         IN      NS      mydomain.com.
> 1       IN      PTR     localhost.
>
>

- -- 
Michael Kjörling - michael at kjorling.com - PGP: 8A70E33E
"We must be the change we wish to see" (Mahatma Gandhi)

^..^     Support the wolves in Norway -- go to     ^..^
 \/   http://home.no.net/ulvelist/protest_int.htm   \/

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBOvMBSyqje/2KcOM+EQJIlwCcDR7NPpcqxx8mq1hx6ojD5Dqm26EAoLp6
TNx7rFPfRuBdAJY96g6DbjpK
=9biS
-----END PGP SIGNATURE-----




More information about the bind-users mailing list