BIND problem on RedHat 7

Kevin Darcy kcd at daimlerchrysler.com
Tue May 22 18:13:16 UTC 2001


You're having a problem with address-to-name resolution, right? I.e. with
reverse lookups. So why didn't you show the contents of your reverse
zone?


- Kevin

allan at nospam.russellway.co.uk wrote:

> I'm new to this and appreciate I have probably made some fundamental
> mistakes. Any help grately appreciated.
>
> I have set up named on Redhat 7 box which  is connected to a  cable
> modem  which has a 'variable' IP.
> I  have permanent DN of xxxx.d2g.com. (domaintogo.com) so to all
> intents and purposes I have a fixed IP.
> My hostname on the linuxbox is linuxbox.xxx.d2g.com.
> My windoze boxes DHCP from the linux box and receive the (local)
> linuxboxes IP as the DNS server.
> All windoze hosts can ping each other using either the short of FQ
> domain name. DNS seems to work perfectly. Reverse lookups work fine as
> well.
> Problem is when I ping a wondoze box from the linux box using the FQDN
> the IP always resolves to that of the external linuxbox.
> Pinging the short name doesn't resolve.
>
> Why? Tearing my hair out!!!
>
> I have a feeling that it may  be the fact that the linuxbox is using
> the DNS server which my IP is allocating and not the local named
> server.
>
> The DNS server which are DHCP'd from my IP always seem to overwrite
> whatever I put in resolve.conf
>
> Thanks in advance, Allan
>
> 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;
> };
>
> zone "xxxx.d2g.com" IN {
>         type master;
>     file "home.zone";
>                 };
>
> zone "." IN {
>         type hint;
>         file "named.ca";
> };
>
> zone "localhost" IN {
>         type master;
>         file "localhost.zone";
>         allow-update { none; };
> };
>
> zone "122.17.172.in-addr.arpa" {
>     type master ;
>     file "reverse.zone";
> };
>
> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "named.local";
>         allow-update { none; };
> };
> key "key" {
>         algorithm hmac-md5;
>         secret
> "BFfnUwgcTTiZuPEZwWavzulJzIdkENyRbDBLZUzEbuwbEOxLBLbGbpinRdlg";
> };
>
> home.zone
>
> $TTL    86400
> @       IN      SOA      linuxbox.xxxx.d2g.com
> root.linuxbox.xxx.d2g.com (
>                                           2346022700 ; Serial
>                                           28800      ; Refresh
>                                           14400      ; Retry
>                                           3600000    ; Expire
>                                           86400 )    ; Minimum
>               IN        NS              linuxbox.xxxx.d2g.com.
>                         MX      10      root.linuxbox.xxxx.d2g.com
>               IN        A               172.17.122.150
> linuxbox      IN        A               172.17.122.150
> sssss      IN   A               172.17.122.140
> ccccc     IN    A               172.17.122.141
> xxxx        IN  A               172.17.122.143
> cccc     IN     A               172.17.122.144
>
> ;





More information about the bind-users mailing list