Dynamic DNS and private addresses

Need help? Ask here.

Moderator: Moderators

Locked
dlc
Posts: 2
Joined: Sun Oct 07, 2012 10:35 am

Dynamic DNS and private addresses

Post by dlc »

I'm trying to set a public name to a private address:

Code: Select all

  $ curl -sSk -u USERNAME:PASSWORD 'https://acc.rollernet.us/dns/dynamic.php?domain=example.com&ip=192.168.100.200&name=test1'
  ERROR: unable to determine IPv4 address or invalid ip value
Is that the intended response? I couldn't find any indication in the docs that this API could not set a name to a private address.
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Dynamic DNS and private addresses

Post by Seth »

I believe it is intended, I'll double check. I can probably add an option to allow RFC1918 space since someone may be depending on the default behavior as a sanity check.
Seth Mattinen, Roller Network LLC
Seth
Site Admin
Posts: 309
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Dynamic DNS and private addresses

Post by Seth »

Add the following argument to the call:

Code: Select all

allow1918

https://acc.rollernet.us/dns/dynamic.php?domain=example.com&ip=192.168.100.200&allow1918&name=test1
Seth Mattinen, Roller Network LLC
dlc
Posts: 2
Joined: Sun Oct 07, 2012 10:35 am

Re: Dynamic DNS and private addresses

Post by dlc »

The allow1918 parameter works as expected. Thanks very much for the quick turnaround!
Locked