Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dynamic dns update - request has invalid signature - TSIG
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TonyErcolano
n00b
n00b


Joined: 29 Nov 2005
Posts: 18
Location: Seattle USA

PostPosted: Mon Nov 26, 2007 9:20 pm    Post subject: dynamic dns update - request has invalid signature - TSIG Reply with quote

Using latest stable builds of bind and dhcp server. Kernel is 2.6.23.8

dns server is protected by a firewall. Authoritive for several zones. Can handle name lookup requests just dandy and has for years.

dhcp server not protected by firewall, part of local non-routing address space: 10.0.0.x

Trying to add dynamic dns updates from the local dhcp server to the dns server. USING TSIG for security.

Both the "public" dns server and the dhcp server get their times from the same ntp server and do appear to be in "sync".

If the dhcp server attempts to add the newly handed out ip address (and name) to the dns server the dhcp (and the dns server) report failure.
On the dhcp server we get log messages of the form:

Unable to add forward map from dhcp-10-0-0-184.bogus-for-example.domain to 10.0.0.184: bad DNS signature.

On the dns server we see messages of the form:

client xxx.xxx.xxx.xxx#25112: request has invalid signature: TSIG a-tseg-key-name: tsig verify failure (BADSIG)

Very depressing.

Now, doing this by "hand" using nsupdate on the dhcp server machine I get the same errors. This makes sense.

However, if on the DNS server machine I run nsupdate with the EXACT same commands, the update is accepted!

Note that back on the dhcp server machine if I run DIG using the same keyname and secret to download zone data it works just fine.
I mention this because at the very least the key processing code is compatable between both the dhcp and the dns servers.

If anyone has any thoughts I would love to hear them.

Thanks in advance!
Tony
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum