Find the answer to your Linux question:
Results 1 to 2 of 2
Fedora 8 Installed Bind/named. all configured with zones. local domain is "local.lan" with subnet of 192.168.1.x/24 setup hosts file with 4 pc's associated with ip address/name can ping by name ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    32

    bind/named setup but clients not resolving


    Fedora 8

    Installed Bind/named.
    all configured with zones. local domain is "local.lan" with subnet of 192.168.1.x/24
    setup hosts file with 4 pc's associated with ip address/name
    can ping by name from the named fedora box.
    Cannot ping from clients (XP) configured to point to fedora box
    Clients state: ping request could not find host.

    XP client:
    IP 192.168.1.101 GW192.168.1.1 DNS 192.168.1.3
    Fedora named 192.168.1.3 GW192.168.1.1 DNS192.168.1.3 and external ISP DNS servers
    Clients can ping IP of named server 192.168.1.3
    Firewall settings turned off on fedora named and xp clients

    named.conf:
    Code:
    acl local.lan { 192.168.1.0/24; 127.0/8; };
    options {
            forwarders { 24.200.241.37; 24.201.245.77; 24.200.243.189; }; #IP of upstream ISP nameserver(s)
            forward only; #rely completely on our upstream nameservers
            listen-on port 53 { 127.0.0.1; };
            directory       "/var/named";
            dump-file       "/var/named/data/cache_dump.db";
            statistics-file "/var/named/data/named_stats.txt";
            memstatistics-file "/var/named/data/named_mem_stats.txt";
            allow-query     { local.lan; };
            recursion yes;
    };
    
    logging {
            channel default_debug {
                    file "data/named.run";
                    severity dynamic;
            };
    };
    
    # Forward Zone for local.lan domain
    zone "local.lan." IN {
            type master;
            file "local.lan.db";
    };
    
    zone "0.0.127.IN-ADDR.ARPA." IN {
            type master;
            file "127.0.0.db";
    };
    zone "1.168.192.IN-ADDR.ARPA." IN {
            type master;
            file "192.168.1.db";
    };
    zone "." IN {
            type hint;
            file "named.ca";
    };
    
    include "/etc/named.rfc1912.zones";

    local.lan.db
    Code:
    $TTL 1H
    @       SOA     fedora8.local.lan.      root.fedora8.local.lan. (       3
                                                    3H
                                                    1H
                                                    1W
                                                    1H )
                    NS      fedora8.local.lan.
    vmware  A       192.168.1.101
    fedora8 A       192.168.1.3
    laptop  A       192.168.1.100
    nelsonXP        A       192.168.1.2
    localhost       A       127.0.0.1
    /etc/resolv.conf
    Code:
    nameserver 127.0.0.1
    nameserver 24.200.241.37
    nameserver 24.201.245.77
    Can anyone help me to find out why the XP clients can ping via name resolution?

  2. #2
    Just Joined!
    Join Date
    Dec 2006
    Posts
    32
    forget it... I found my issue, had to add the subnet to the listen-on port 53 option so that it looks like this:

    listen-on port 53 { 127.0.0.1; 192.168.1.0/24; };

    And also added :

    allow-query { local.lan; 192.168.1.0/24; };

    Thanks anyway

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •