• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DDNS update issue with ISC DHCP and Bind9

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 241 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    vgauthier
    last edited by vgauthier Nov 1, 2024, 11:23 AM Nov 1, 2024, 11:18 AM

    I encounter a strange behaviour when I try to update setup my new external dns server (bind9), when I reconfigure the pfsense ddns setting my IPv4 reverse records are updated correctly, my IPv6 forward and reverse records are updated correctly, but no IPv4 forward records are recorded. My forward zone seems to be fine as the IPv6 forward records are recorded correctly. I am starting to get confused by this issue.

    • no error in bind log about ddns updates
    • No error in dhcp log at all
    • My new dns server just don't seems to receive any forward IPv4 nsupdates instead my former dns server still receive the IPv4 forward nsupdate.....
    G 1 Reply Last reply Nov 1, 2024, 2:45 PM Reply Quote 0
    • G
      Gertjan @vgauthier
      last edited by Gertjan Nov 1, 2024, 2:45 PM Nov 1, 2024, 2:45 PM

      @vgauthier said in DDNS update issue with ISC DHCP and Bind9:

      no error in bind log about ddns updates

      Ok, great.
      But 'nothing' doesn't always means 'good news'.

      My "RFC2136" :

      74d2b9d6-8b70-4dac-9674-eea758f8871e-image.png

      Whne I hit Save and Force update I see this

      01-Nov-2024 15:32:56.327 update-security: client @0x7f3fdc3c9cd0 82.127.26.108#64128/key secretkey: signer "secretkey" approved
      01-Nov-2024 15:32:56.327 update: client @0x7f3fdc3c9cd0 82.127.26.108#64128/key secretkey: updating zone 'bxxxx-hxxxx-fxxxx.fr/IN': deleting rrset at 'home.bxxxx-hxxxx-fxxxx.fr' A
      01-Nov-2024 15:32:56.327 update: client @0x7f3fdc3c9cd0 82.127.26.108#64128/key secretkey: updating zone 'bxxxx-hxxxx-fxxxx.fr/IN': adding an RR at 'home.bxxxx-hxxxx-fxxxx.fr' A 82.127.26.y
      d
      

      in the bind (debug) log.

      @vgauthier said in DDNS update issue with ISC DHCP and Bind9:

      No error in dhcp log at all

      The tool nsupdate used to handle rfc2136 against bind is probably created by ISC DHCP, but it isnt' DHCP server that is doing the work.

      Btw : dhcp server can also register IP/hostnames in an (upstream) bind DNS server, but as my LANs are all RFC1918 it doesn't make sense to create records for those
      dhcp6 is another story.

      @vgauthier said in DDNS update issue with ISC DHCP and Bind9:

      My new dns server just don't seems to receive any forward IPv4 nsupdates

      As I showed above, mine does.
      That side, again, you probably have to filter and logs these, as default, there are not logged (maybe).

      The end of my /etc/bind/named.conf.options file :

      ogging {
      	 category "lame-servers" { lame; };
      	
      	 channel "lame" {
      		file "/var/log/bind9/lame.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity dynamic;
      	};
      
      	category "default" { "debug"; };
      	category "database" { "debug"; };
      	category "security" { "debug"; };
      	category "config" { "debug"; };
      	category "resolver" { "debug"; };
      	category "client" { "debug"; };
      	category "unmatched" { "debug"; };
      	category "network" { "debug"; };
      	category "update" { "debug"; };
      	category "dispatch" { "debug"; };
      
      	channel "debug" {
      		file "/var/log/bind9/debug.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity dynamic;
      	};
      
      	category "dnssec" { "dnssec"; };
      	channel "dnssec" {
      		file "/var/log/bind9/dnssec.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity dynamic;
      	};
      
      	channel "xfer" {
      		file "/var/log/bind9/xfer.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity debug;
      	};
      	category "xfer-in" { "xfer"; };
      	category "xfer-out" { "xfer"; };
      	category "notify" { "xfer"; };
      
      	channel "general" {
      		file "/var/log/bind9/general.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity dynamic;
      	};
      	category "general" { "general"; };
      		
      	channel "b_query" {
      		file "/var/log/bind9/query.log" versions 10 size 5m;
      		print-time yes;
      		print-category yes;
      		severity dynamic;
      	};
      	category "queries" { "b_query"; };
      };
      

      @vgauthier said in DDNS update issue with ISC DHCP and Bind9:

      instead my former dns server still receive the IPv4 forward nsupdate.....

      That's the answer to your own question 👍

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received