Dynamic DNS update Questions
Kevin Darcy
kcd at daimlerchrysler.com
Wed Oct 9 19:15:23 UTC 2002
Ian Young wrote:
> Hi,
>
> I've recently set up a Dynamic DNS / DHCP server. PC's etc are
> resolving host name no problem, I just have a few of questions.
>
> 1) The 'graphic.plc.uk' file (see below) is being updated Ok but the
> '192.168.0.0' file is not. I think it should be. I am I correct? If so
> what is wrong?
>
> 2) In the 'graphic.plc.uk' I have added an entry for a computer with a
> fixed IP. I am approaching this in the correct way? I think an entry
> is required in the '192.168.0.0' file.
>
> Cheers
>
> Ian Young
> Graphic PLC
>
> dhcpd.conf
> *******************************************
> ddns-domainname "graphic.plc.uk";
> ddns-update-style interim;
> ignore client-updates;
>
> key rndckey. {
> algorithm hmac-md5;
> secret "<Key>";
> }
>
> zone graphic.plc.uk. {
> primary 127.0.0.1;
> key rndckey.;
> }
>
> zone 0.168.192.in-addr.arpa. {
> primary 127.0.0.1;
> key rndckey.;
> }
>
> subnet 192.168.0.0 netmask 255.255.255.0{
> range 192.168.0.130 192.168.0.254;
> default-lease-time 1200;
> max-lease-time 9200;
> option domain-name "graphic.plc.uk";
> option domain-name-servers 192.168.0.20;
> }
> *************************************************
>
> Named.conf
> *************************************************
> options {
> directory "/var/named";
> };
> //
> // a caching only nameserver config
> //
> controls{
> inet 127.0.0.1 allow{
> localhost;
> } keys{
> rndckey;
> };
> };
> key "rndckey"{
> algorithm hmac-md5;
> secret "<key>";
> };
> zone "." {
> type hint;
> file "named.ca";
> };
> zone "localhost" in{
> type master;
> file "localhost.zone";
> allow-update{
> none;
> };
> };
> zone "graphic.plc.uk" {
> type master;
> file "graphic.plc.uk";
> allow-update{
> key rndckey;
> };
> };
> zone "0.0.127.in-addr.arpa" in{
> type master;
> file "named.local";
> allow-update{
> none;
> };
> };
> zone "0.168.192.IN-ADDR.ARPA" {
> type master;
> file "192.168.0.0";
> allow-update{
> key rndckey;
> };
> *************************************************
>
> graphic.plc.uk
> *************************************************
> $ORIGIN .
> $TTL 43200 ; 12 hours
> graphic.plc.uk IN SOA dnsdhcp.graphic.plc.uk.
> hostmaster.graphic.plc.uk. (
> 2002092621 ; serial
> 3600 ; refresh (1 hour)
> 15 ; retry (15 seconds)
> 1209600 ; expire (2 weeks)
> 43200 ; minimum (12 hours)
> )
> NS dnsdhcp.graphic.plc.uk.
> MX 5 dnsdhcp.graphic.plc.uk.
> $ORIGIN graphic.plc.uk.
> $TTL 600 ; 10 minutes
> C0206 A 192.168.0.183
> TXT "319f9445ed9d51a4b3d833535e11f1aad6"
> $TTL 43200 ; 12 hours
> dnsdhcp A 192.168.0.20
> $TTL 600 ; 10 minutes
> laptop A 192.168.0.133
> TXT "31524457689e311f69466c2acf19be5a62"
> $TTL 43200 ; 12 hours
> star A 192.168.0.80
>
> *************************************************
>
> 192.168.0.0
> *************************************************
> $TTL 43200
> @ IN SOA dnsdhcp hostmaster.graphic.plc.uk. (
> 2002092502 ; serial
> 1H ; refresh
> 15 ; retry
> 14D ; expire
> 12H ; default_ttl
> )
> 20 IN PTR dnsdhcp.graphic.plc.uk.
> ********************************************
This zone has no NS records, so it's presumably not loading properly and
consequently, the nameserver will reject Dynamic Update requests for it.
- Kevin
More information about the bind-users
mailing list