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 » Sun Oct 07, 2012 10:55 am

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: 293
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Dynamic DNS and private addresses

Post by Seth » Sun Oct 07, 2012 2:02 pm

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: 293
Joined: Sun Aug 30, 2009 10:44 pm
Location: Nevada
Contact:

Re: Dynamic DNS and private addresses

Post by Seth » Mon Oct 08, 2012 11:13 am

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 » Mon Oct 08, 2012 12:27 pm

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

Locked

Who is online

Users browsing this forum: No registered users and 1 guest