Community discussions

 
Xand
just joined
Topic Author
Posts: 5
Joined: Fri Mar 22, 2013 12:23 pm

ipv6 dhcp status change (na-valid / na-address)

Sat Jan 26, 2019 9:50 pm

Hi, I have LTE interface with IP ipv6 address (request type = address). I would like to update the bind to dns name, when new ip address assigned.

How does na-valid and na-address are supposed to be used in dhcpv6 client script?
This does nothing:
#:if ($na-valid=1) do={
/tool fetch mode=https keep-result=no url="https://www.duckdns.org/update?domains=aaaa&token=bbbb&ipv6=$na-address";
:log info ("ip address changed to $na-address");
#};
The output to the log is "ip address changed to -address"

What am I doing wrong?
@Janisk
 
Xand
just joined
Topic Author
Posts: 5
Joined: Fri Mar 22, 2013 12:23 pm

Re: ipv6 dhcp status change (na-valid / na-address)

Thu Jan 31, 2019 4:25 pm

Any help, please?
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1785
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: ipv6 dhcp status change (na-valid / na-address)

Thu Jan 31, 2019 4:31 pm

Try construct the url upfront using $"na-address" & $"na-valid" instead.

Who is online

Users browsing this forum: No registered users and 9 guests