Google Domain Website Won't Resolve (Uhttpd/DDNS)

Hi all! This is my first post so please excuse the formatting.

I'm trying to use a dynamic DNS with my website registered on google domains, hosted on my Netgear R6120(running OpenWRT). The 6120 is a DHCP client, connected over LAN to my Netgear C6220(stock firmware). It's broadcasting a uhttpd server( basic, I know :frowning: ), forwarded through the C6220 on a specific port. You can currently connect to it anywhere through the 6220's IP, but the domain will not resolve.

I'm lead to believe this should be getting my IP automatically to serve to google domains, perhaps the custom port forward is giving it trouble?

Here is the ddns log:

 150551  note : PID '13471' started at 2021-03-12 15:05
 150551       : ddns version  : 2.7.8-13
 150552       : uci configuration:
ddns.myddns_ipv6.domain='{my domain}'
ddns.myddns_ipv6.lookup_host='{my domain}'
 150552       : verbose mode  : 0 - run normal, NO console output
 150553       : check interval: 600 seconds
 150553       : force interval: 259200 seconds
 150553       : retry interval: 60 seconds
 150553       : retry counter : 0 times
 150553       : No old process
 150554       : last update: never
 150554       : Detect registered/public IP
 150554       : #> /usr/bin/host -t AAAA {my domain}  >/var/run/ddns/myddns_ipv6.dat 2>/var/run/ddns/myddns_ipv6.err
 150604 ERROR : BIND host error: '1'
 150604       : 
 150605       : Detect registered/public IP
 150605       : #> /usr/bin/host -t AAAA {my domain}  >/var/run/ddns/myddns_ipv6.dat 2>/var/run/ddns/myddns_ipv6.err
 150615 ERROR : BIND host error: '1'
 150615       : 
 150615  WARN : Get registered/public IP for 'xxxxxxx' failed - retry 1/0 in 60 seconds
 150716       : #> /usr/bin/host -t AAAA {my domain}  >/var/run/ddns/myddns_ipv6.dat 2>/var/run/ddns/myddns_ipv6.err
 150726 ERROR : BIND host error: '1'
 150726       : 

Thanks in advance!

And you run the host command manually?

1 Like

Shouldn't this be wan?

BTW, if you're doing IPv6, you're registering the WAN IPV6 address. Unless the web server is on the router, you may need to point this to the proper server IPv6 address after testing.

1 Like

This output was provided from the ddns log, here's the result from running the commands manually:

root@OpenWrt:~# /usr/bin/host -t AAAA {my domain}
{my domain} has no AAAA record
root@OpenWrt:~# /usr/bin/host -t AAAA {IPV6 without port} domain name pointer
root@OpenWrt:~# /usr/bin/host -t AAAA {IPV6 with port}
Host {IPV6 with port} not found: 3(NXDOMAIN)

The web server is on my R6120, which is getting its IPV6 from a LAN connection to my C6220.

Outside traffic -> C6220(via port 8080) -> R6120(via LAN) -> web server on R6120

you probably have to enter your domain instead of {xxxx}

'xxxxx' or {my domain} are entered in correctly, I just redacted then for this post

I use a script in my server to update my google domains and I put the ipv6 suffix in firewall rules to allow the device, works good.