pavement

Talk:BIND, dynamic DNS

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(nope. see '''man nsupdate''')
Line 1: Line 1:
 +
== variable set wrong? ==
 
in set-ddns.pl:
 
in set-ddns.pl:
  
Line 8: Line 9:
  
 
par non, complimenteré?
 
par non, complimenteré?
 +
 +
--[[User:82.182.172.103]] 17:41, 19 August 2008 (EDT)
  
 
== nope.  see '''man nsupdate''' ==
 
== nope.  see '''man nsupdate''' ==

Revision as of 23:00, 19 August 2008

variable set wrong?

in set-ddns.pl:

$KEYFILE should probably point to the key file, not the private file.

$KEYFILE = 'Kclient.server.net.+157+15661.private'; should read $KEYFILE = 'Kclient.server.net.+157+15661.key';

par non, complimenteré?

--User:82.182.172.103 17:41, 19 August 2008 (EDT)

nope. see man nsupdate

nsupdate uses the -y or -k option (with an HMAC-MD5 key) to provide the
shared secret needed to generate a TSIG record for authenticating
Dynamic DNS update requests. These options are mutually exclusive. With
the -k option, nsupdate reads the shared secret from the file keyfile,
whose name is of the form K{name}.+157.+{random}.private.

Kinda confusing, I know, but I'm not the one who made the confusion. (Note how the manpage itself refers to the file as "keyfile" in the argument examples; I'm just following the existing conventions by naming my own variable $KEYFILE.)

Reading on in the manpage:

For historical reasons, the file K{name}.+157.+{random}.key must also be
present. 

So, there ya have it. =)

--Jimbo 22:59, 19 August 2008 (EDT)

Personal tools