dynamic dns problem

Michael Hale michael at halefamilysite.com
Thu Jan 29 00:14:54 UTC 2004


Here it is:
options {
         directory "/var/cache/bind";
         query-source address * port 53;

         forwarders {
                 x.x.x.x;
         };

         auth-nxdomain no;    # conform to RFC1035

         version "Not available.";
         cleaning-interval 0;
};

include "/etc/bind/rndc.key";
controls {
         inet 127.0.0.1 port 953
         allow {127.0.0.1; 192.168.1.4;} keys {"rndc-key";};
};

view internal {
match-clients {192.168.1.0/8;};

zone "." {
         type hint;
         file "/etc/bind/db.root";
};

zone "localhost" {
         type master;
         file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
         type master;
         file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
         type master;
         file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
         type master;
         file "/etc/bind/db.255";
};

zone "example.com" {
         type master;
         file "/etc/bind/db.example.com";
         allow-update {key rndc-key;};
};

zone "1.168.192.in-addr.arpa" in {
         type master;
         file "/etc/bind/db.192.168.1";
         allow-update {key rndc-key;};
};

}; //end view internal

view external {
include "/etc/bind/michael/zones.conf"; 	#currently an empty file
};

logging {
     category dnssec   { security_log; };
     category update   { security_log; };
     category security { security_log; };

     channel security_log {
         syslog daemon;
         print-time yes;
         print-category yes;
         print-severity yes;
         severity info;
     };
};

On Jan 28, 2004, at 3:13 PM, Kevin Darcy wrote:

> What does named.conf look like?
>
>
>             - Kevin
>
> Michael Hale wrote:
>
>> I keep getting messages like this:
>> Jan 28 01:18:57 narnia dhcpd: Unable to add forward map from
>> host.example.com. to 192.168.1.135: not authorized
>> Jan 28 01:18:57 narnia dhcpd: DHCPREQUEST for 192.168.1.135 from
>> 00:80:ad:c0:97:d2 (host) via eth0
>> Jan 28 01:18:57 narnia dhcpd: DHCPACK on 192.168.1.135 to
>> 00:80:ad:c0:97:d2 (host) via eth0
>>
>> I am using bind9(in chroot chail) and dhcp3 on debian.
>> I have my TSIG keys in sync.  I know that because I purposefully made
>> them not match up and I get a specific error about a bad TSIG key.
>>
>> My dhcpd.conf looks like this:
>> authoritative;
>> default-lease-time 604800;
>>
>> ddns-update-style interim;
>> key rndc-key {
>>         algorithm hmac-md5;
>>         secret "my-secret";
>> };
>> zone example.com. {
>>     primary 127.0.0.1;
>>     key rndc-key;
>> }
>> zone 1.168.192.in-addr.arpa. {
>>     primary 127.0.0.1;
>>     key rndc-key;
>> }
>>
>> subnet 192.168.1.0 netmask 255.255.255.0 {
>>         range 192.168.1.26 192.168.1.250;
>>         option domain-name-servers 192.168.1.4;
>>         option routers 192.168.1.1;
>>         option netbios-name-servers 192.168.1.4;
>>         option domain-name "example.com.";
>>         option subnet-mask 255.255.255.0;
>> }
>>
>>
>>
>>
>>
>>
>>
>
>
>
>


-- Binary/unsupported file stripped by Ecartis --
-- Type: application/pkcs7-signature
-- File: smime.p7s




More information about the bind-users mailing list