Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] nsupdate with key to a BIND server
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] nsupdate with key to a BIND server (Read 3822 times)
yannix
Newbie
Posts: 3
Karma: 0
[SOLVED] nsupdate with key to a BIND server
«
on:
April 03, 2019, 10:58:16 pm »
Hello,
I'm new to opnsense.
I'm asking if it's possible to run 'nsupdate' (using keys) to a bind server as a custom dyndns option. I looked into the custom settings but it seems it prefers to do the update using HTTP authentication instead.
If it's not an option, I am okay writing a custom startup? script but how does one reference the WAN IP?
I envision nsupdate running everytime my WAN IP changes and during router startup.
Thanks in advance
«
Last Edit: April 09, 2019, 07:56:11 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: nsupdate with key to a BIND server
«
Reply #1 on:
April 05, 2019, 10:48:56 am »
It sounds like you are looking for the RFC 2136 plugin....
Cheers,
Franco
Logged
yannix
Newbie
Posts: 3
Karma: 0
Re: nsupdate with key to a BIND server
«
Reply #2 on:
April 08, 2019, 04:06:54 pm »
That was it.
I ran into a minor issue adding a new entry, it kept complaining about invalid characters in my DNS key name. Turns out it didn't like the fact that my key name has a trailing dot. I removed it from both opnsense and my named.conf and it went through fine.
Just wanted to bring this to your attention in case it's an issue. I can't seem to find anything that indicates it would cause an issue (or noncompliance with RFC) one way or another. Just an old habit of mine from years of dealing with bind.
Thanks for pointing me to the right direction.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: nsupdate with key to a BIND server
«
Reply #3 on:
April 09, 2019, 07:55:57 am »
We could remove the trailing dot, but I'm not sure about the impact then. Let's leave this thread here for future users to stumble upon. If there are 1-2 more reporters we can surely look into it more closely.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.1 Legacy Series
»
[SOLVED] nsupdate with key to a BIND server