DynDNS set to 127.0.0.1
Moderator: Moderators
-
- Posts: 33
- Joined: Wed May 25, 2011 9:27 pm
DynDNS set to 127.0.0.1
My setup: Gargoyle Router (1.14) and running pi-hole as my DNS server.
Occasionally when I try to ping mydomain.com I get 127.0.0.1 as result, meaning that none of the services I run are reachable. I use DynDNS to update my domain's IP if it's changed.
Gargoyle must mistakenly occasionally think my IP is 127.0.0.1 and update mydomain.com's IP accordingly. In the past I have attributed this to aruljohn.com which has been notoriously bad and I have therefore added aruljohn.com to the blocklist I use in pi-hole.
Unfortunately the problem persists. Is gargoyle using domains other than aruljohn.com that give similar problems?
Luckily normally after a few hours or so the correct IP is assigned to mydomain.com again but it's really disruptive if it keeps assigning localhost to it.
How to fix?
Occasionally when I try to ping mydomain.com I get 127.0.0.1 as result, meaning that none of the services I run are reachable. I use DynDNS to update my domain's IP if it's changed.
Gargoyle must mistakenly occasionally think my IP is 127.0.0.1 and update mydomain.com's IP accordingly. In the past I have attributed this to aruljohn.com which has been notoriously bad and I have therefore added aruljohn.com to the blocklist I use in pi-hole.
Unfortunately the problem persists. Is gargoyle using domains other than aruljohn.com that give similar problems?
Luckily normally after a few hours or so the correct IP is assigned to mydomain.com again but it's really disruptive if it keeps assigning localhost to it.
How to fix?
Re: DynDNS set to 127.0.0.1
If you can look at your logs and tell me which one is generating the wrong address I’ll update/remove it.
The latest versions have a new url from aruljohn which behaves correctly.
As a workaround, you can set the dns config to source from the WAN interface instead of querying a service.
As long as your WAN holds a public IP.
The latest versions have a new url from aruljohn which behaves correctly.
As a workaround, you can set the dns config to source from the WAN interface instead of querying a service.
As long as your WAN holds a public IP.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
-
- Posts: 33
- Joined: Wed May 25, 2011 9:27 pm
Re: DynDNS set to 127.0.0.1
Part of the log file below, for privacy I have renamed my domain and actual IP address.
It is consistently tracemyip.org and aruljohn that fail, all others work fine.
What I don't understand is why aruljohn is listed here anyway as I have blocked that in pi-hole. How can I completely ban the router from using tracemyip and aruljohn?
It is consistently tracemyip.org and aruljohn that fail, all others work fine.
What I don't understand is why aruljohn is listed here anyway as I have blocked that in pi-hole. How can I completely ban the router from using tracemyip and aruljohn?
Code: Select all
Mon Aug 11 11:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 11:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 11:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 11:08:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.aruljohn.com/ip
Mon Aug 11 11:08:14 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 11:08:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 11:08:14 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 11:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 11:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 11:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 11:23:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.lawrencegoetz.com/programs/ipinfo/
Mon Aug 11 11:23:14 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 11:23:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 11:23:14 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://myipinfo.net
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 11:38:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 11:53:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 11:53:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 11:53:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 11:53:15 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.myipnumber.com
Mon Aug 11 11:53:15 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 11:53:15 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 11:53:15 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 12:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 12:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 12:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 12:08:18 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: http://www.dslreports.com/whatismyip
Mon Aug 11 12:08:18 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.ipify.org
Mon Aug 11 12:08:18 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 12:08:18 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 12:08:18 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 12:17:19 2025 daemon.info dnsmasq-dhcp[11677]: Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.myip.com
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 12:23:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 12:38:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 12:38:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 12:38:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 12:38:13 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: http://bot.whatismyipaddress.com
Mon Aug 11 12:38:16 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.my-ip.io/ip
Mon Aug 11 12:38:16 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 12:38:16 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 12:38:16 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 12:53:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 12:53:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 12:53:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 12:53:18 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: https://ip.seeip.org
Mon Aug 11 12:53:18 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://ifconfig.co/ip
Mon Aug 11 12:53:18 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 12:53:18 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 12:53:18 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 13:01:16 2025 daemon.info dnsmasq-dhcp[11677]: Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://ipapi.co/ip
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 13:08:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.ip.sb/ip
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 13:23:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 13:25:12 2025 daemon.info dnsmasq-dhcp[11677]: Mon Aug 11 13:38:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 13:38:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 13:38:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 13:38:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.ipchicken.com
Mon Aug 11 13:38:14 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 13:38:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 13:38:14 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.tracemyip.org
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: local IP = 127.0.0.1
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 13:53:13 2025 daemon.info ddns_gargoyle[782]: Update successful
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://checkip.dyndns.org
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 14:08:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 127.0.0.1
Mon Aug 11 14:08:14 2025 daemon.info ddns_gargoyle[782]: Update successful
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://checkip.org
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 14:23:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 14:38:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 14:38:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 14:38:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 14:38:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.aruljohn.com/ip
Mon Aug 11 14:38:14 2025 daemon.info ddns_gargoyle[782]: local IP = 127.0.0.1
Mon Aug 11 14:38:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 14:38:14 2025 daemon.info ddns_gargoyle[782]: Update successful
Mon Aug 11 14:53:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 14:53:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 14:53:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 14:53:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.lawrencegoetz.com/programs/ipinfo/
Mon Aug 11 14:53:14 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 14:53:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 127.0.0.1
Mon Aug 11 14:53:14 2025 daemon.info ddns_gargoyle[782]: Update successful
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://myipinfo.net
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 15:08:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 15:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 15:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 15:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 15:23:14 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.myipnumber.com
Mon Aug 11 15:23:14 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 15:23:14 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 15:23:14 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 15:34:31 2025 daemon.info dnsmasq-dhcp[11677]: Mon Aug 11 15:38:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 15:38:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 15:38:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 15:38:18 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: http://www.dslreports.com/whatismyip
Mon Aug 11 15:38:18 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.ipify.org
Mon Aug 11 15:38:18 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 15:38:18 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 15:38:18 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.myip.com
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 15:53:13 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 16:08:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 16:08:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 16:08:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 16:08:13 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: http://bot.whatismyipaddress.com
Mon Aug 11 16:08:16 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.my-ip.io/ip
Mon Aug 11 16:08:16 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 16:08:16 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 16:08:16 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Mon Aug 11 16:23:13 2025 daemon.info ddns_gargoyle[782]: Checking whether update needed:
Mon Aug 11 16:23:13 2025 daemon.info ddns_gargoyle[782]: service provider=namecheap.com
Mon Aug 11 16:23:13 2025 daemon.info ddns_gargoyle[782]: domain=mydomain.com
Mon Aug 11 16:23:18 2025 daemon.info ddns_gargoyle[782]: Could not determine local ip from url: https://ip.seeip.org
Mon Aug 11 16:23:18 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://ifconfig.co/ip
Mon Aug 11 16:23:18 2025 daemon.info ddns_gargoyle[782]: local IP = 123.123.123.123
Mon Aug 11 16:23:18 2025 daemon.info ddns_gargoyle[782]: remote IP = 123.123.123.123
Mon Aug 11 16:23:18 2025 daemon.info ddns_gargoyle[782]: Update not needed, IPs match
Re: DynDNS set to 127.0.0.1
I don’t have any issues with tracemyip on my end, that’s interesting.
Maybe a more sophisticated option is required to prevent localhost from being updated out.
If the router is set to use the pi-hole it should be respected.
I would check nslookup what server it is using.
More drastically you can block the host entirely, if you wish.
Just checking, Pihole is using nxdomain mode and not 127.0.0.1 mode right?
You cannot dynamically remove them from the list of URLs to be tried without recompiling sorry.
Maybe a more sophisticated option is required to prevent localhost from being updated out.
If the router is set to use the pi-hole it should be respected.
I would check nslookup what server it is using.
More drastically you can block the host entirely, if you wish.
Just checking, Pihole is using nxdomain mode and not 127.0.0.1 mode right?
You cannot dynamically remove them from the list of URLs to be tried without recompiling sorry.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
-
- Posts: 33
- Joined: Wed May 25, 2011 9:27 pm
Re: DynDNS set to 127.0.0.1
Bump.
Getting really frustrated now. I have blacklisted aruljohn.com and www.tracemyip.org in my pi-hole. If I nslookup them I get 0.0.0.0, so the blacklist works.
Gargoyle is configured to use pi-hole as the DNS server.
I expect gargoyle, when it does a nslookup and that nslookup fails (for example because it uses aruljohn.com, which is blacklisted and returns 0.0.0.0) to use ANOTHER of its options, eg www.ipchicken.com, until is gets a valid IP address. It seems however that Gargoyle does NOT work that way.
I use DynDNS and refresh every 15 minutes, whenever aruljohn or tracemyip are used (and thus nslookup returns 0.0.0.0) the DynDNS entry is updated with 127.0.0.1 (instead of retrying with eg ipchicken). This in turn means that many times a day, my domain is unreachable, for 15 minutes at a time.
I could choose 3 minutes instead of 15 minutes but then being unreachable would happen more often. I could choose 1 hour instead of 15 minutes but then being unreachable would last for longer.
I wish the list of servers that Gargoyle uses was not hardcoded in firmware but read from a file, so that I could edit the file and utterly remove aruljohn and whatsmyip because they NEVER, EVER work for me. All the others do.
Also, this very forum is incredibly slow today, what's up?
Getting really frustrated now. I have blacklisted aruljohn.com and www.tracemyip.org in my pi-hole. If I nslookup them I get 0.0.0.0, so the blacklist works.
Gargoyle is configured to use pi-hole as the DNS server.
I expect gargoyle, when it does a nslookup and that nslookup fails (for example because it uses aruljohn.com, which is blacklisted and returns 0.0.0.0) to use ANOTHER of its options, eg www.ipchicken.com, until is gets a valid IP address. It seems however that Gargoyle does NOT work that way.
I use DynDNS and refresh every 15 minutes, whenever aruljohn or tracemyip are used (and thus nslookup returns 0.0.0.0) the DynDNS entry is updated with 127.0.0.1 (instead of retrying with eg ipchicken). This in turn means that many times a day, my domain is unreachable, for 15 minutes at a time.
I could choose 3 minutes instead of 15 minutes but then being unreachable would happen more often. I could choose 1 hour instead of 15 minutes but then being unreachable would last for longer.
I wish the list of servers that Gargoyle uses was not hardcoded in firmware but read from a file, so that I could edit the file and utterly remove aruljohn and whatsmyip because they NEVER, EVER work for me. All the others do.
Also, this very forum is incredibly slow today, what's up?
Re: DynDNS set to 127.0.0.1
If the host resolves, it requests the page. If the page is not blank, it attempts to parse out an IP address from it.
If the returned IP is null, it checks the next source. If it is a valid IPv4 address (127.0.0.1 included…), that’s the answer it uses.
If your host blocking is working properly this should not be happening.
You never answered my first question.
Is your WAN IP (as reported in Gargoyle) the IP that you want to use? Or are you behind something like CGNAT or a dual NAT scenario?
If the WAN IP is right, there is a very simple solution to this.
The forum is being bombarded with AI scrapers (I expect) and can’t handle it. The forum owner has not answered my mail on this issue.
If the returned IP is null, it checks the next source. If it is a valid IPv4 address (127.0.0.1 included…), that’s the answer it uses.
If your host blocking is working properly this should not be happening.
You never answered my first question.
Is your WAN IP (as reported in Gargoyle) the IP that you want to use? Or are you behind something like CGNAT or a dual NAT scenario?
If the WAN IP is right, there is a very simple solution to this.
The forum is being bombarded with AI scrapers (I expect) and can’t handle it. The forum owner has not answered my mail on this issue.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
-
- Posts: 33
- Joined: Wed May 25, 2011 9:27 pm
Re: DynDNS set to 127.0.0.1
Sorry, I must have missed your first question.
My setup:
fibre->ONT->ISP supplied modem/router (192.168.1.1)->Gargoyle router->all network devices
The USP supplied modem/router I can't do without as it supplies 'landline' phone connection. It does not have WiFi on, it does not have DHCP enabled, it's setup to be as dumb as possible and just pass everything on to the Gargoyle router.
Gargoyle router WAN status:
WAN IP: 192.168.1.2
WAN gateway IP: 192.168.1.1
WAN DNS Server: 192.168.2.170 (the pi-hole)
Gargoyle router LAN:
IP Address: 192.168.2.1
All devices on the network: 192.168.2.xyz
(Luckily) I do not have CGNAT. I use DHCP from Gargoyle, not from pi-hole.
Yet in the System Logs:
The WAN IP is of course not the IP I want to use.
Everything works the way it should, except for aruljohn and tracemyip, those two always cause trouble, which is why I blocked them in pi-hole, hoping it would force Gargoyle to try the next one, but alas.
My setup:
fibre->ONT->ISP supplied modem/router (192.168.1.1)->Gargoyle router->all network devices
The USP supplied modem/router I can't do without as it supplies 'landline' phone connection. It does not have WiFi on, it does not have DHCP enabled, it's setup to be as dumb as possible and just pass everything on to the Gargoyle router.
Gargoyle router WAN status:
WAN IP: 192.168.1.2
WAN gateway IP: 192.168.1.1
WAN DNS Server: 192.168.2.170 (the pi-hole)
Gargoyle router LAN:
IP Address: 192.168.2.1
All devices on the network: 192.168.2.xyz
(Luckily) I do not have CGNAT. I use DHCP from Gargoyle, not from pi-hole.
That (quote) is the part that I think is not working.If the returned IP is null, it checks the next source.
Code: Select all
nslookup aruljohn.com
Server: Gargoyle.lan
Address: 192.168.2.1
Name: aruljohn.com
Addresses: ::
0.0.0.0
nslookup www.tracemyip.org
Server: Gargoyle.lan
Address: 192.168.2.1
Name: www.tracemyip.org
Addresses: ::
0.0.0.0
Code: Select all
Mon Aug 25 01:51:11 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: https://api.aruljohn.com/ip
Mon Aug 25 01:51:11 2025 daemon.info ddns_gargoyle[782]: local IP = 127.0.0.1
Mon Aug 25 01:06:11 2025 daemon.info ddns_gargoyle[782]: Successfully retrieved local ip from url: http://www.tracemyip.org
Mon Aug 25 01:06:11 2025 daemon.info ddns_gargoyle[782]: local IP = 127.0.0.1
Everything works the way it should, except for aruljohn and tracemyip, those two always cause trouble, which is why I blocked them in pi-hole, hoping it would force Gargoyle to try the next one, but alas.
Re: DynDNS set to 127.0.0.1
Ok, and just humour me with
ewget https://api.aruljohn.com/ip
ewget http://www.tracemyip.org/
Are you open to blocking these domains on the router itself instead of Pihole?
ewget https://api.aruljohn.com/ip
ewget http://www.tracemyip.org/
Are you open to blocking these domains on the router itself instead of Pihole?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
-
- Posts: 33
- Joined: Wed May 25, 2011 9:27 pm
Re: DynDNS set to 127.0.0.1
Did ewget for both aruljohn and tracemyip and apart from the timestamp that differs slightly they are the same:
Happy to block the domains on router but don't know where, never seen option for that.
Code: Select all
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Gargoyle Firmware Webgui for router management.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gargoyle Router Management Utility</title>
<link rel="shortcut icon" href="/themes/Gargoyle/images/favicon.png"/>
<link rel="stylesheet" href="/themes/Gargoyle/bootstrap.min.css?1.14.0">
<link rel="stylesheet" href="/themes/Gargoyle/common.css?1.14.0"/>
<link rel="stylesheet" href="/themes/Gargoyle/theme.css?1.14.0">
<script src="/js/common.js?1.14.0"></script>
<script src="/js/login.js?1.14.0"></script>
<script src="/js/../hooks/login/js/050-tor.js?1.14.0"></script>
<script src="/js/../hooks/login/js/070-openvpn.js?1.14.0"></script>
<script src="/js/../hooks/login/js/080-wireguard.js?1.14.0"></script>
<script src="i18n/English-EN/strings.js?1.14.0"></script>
<script src="/i18n/English-EN/login.js?1.14.0"></script>
<script src="/i18n/English-EN/login.js?1.14.0"></script>
<script src="/i18n/English-EN/050-tor.js?1.14.0"></script>
<script src="/themes/Gargoyle/theme.js?1.14.0"></script>
</head>
<body>
<div id="darken"><iframe id="d_iframe" class="select_free"></iframe></div>
<div id="wait_msg">
<div id="wait_txt">
Please Wait While Settings Are Applied
</div>
<div id="wait_icon">
<img src="/themes/Gargoyle/images/wait_icon.gif"/>
</div>
<iframe id="m_iframe" class="select_free"></iframe>
</div>
<div id="row-offcanvas" class="row-offcanvas full-height">
<div id="wrapper" class="container-fluid full-height">
<div id="content" class="col-xs-12 col-md-10 col-lg-10 col-md-push-2 col-lg-push-2 full-height">
<div id="topnavbar" class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="btn btn-default sidebar-toggle navbar-toggle" onclick="sidebar()">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">Router Management Utility</span>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="alert alert-danger" style="display:none;">Router storage full (read only) or is mounted in volatile storage (RAM). It will not function correctly, or will revert to a previous state after rebooting. Restore default configuration or flash new firmware (without preserving settings).</div>
<script>
var gargoyleBinRoot = "/www/.";
var haveCollapsibleMenus = 1;
var haveThemeJs = 1;
var uciOriginal = new UCIContainer();
uciOriginal.set('gargoyle', 'global', '', "global");
uciOriginal.set('gargoyle', 'global', 'web_root', "/www");
uciOriginal.set('gargoyle', 'global', 'bin_root', ".");
uciOriginal.set('gargoyle', 'global', 'js_root', "js");
uciOriginal.set('gargoyle', 'global', 'theme_root', "themes");
uciOriginal.set('gargoyle', 'global', 'theme', "Gargoyle");
uciOriginal.set('gargoyle', 'global', 'common_css', "common.css");
uciOriginal.set('gargoyle', 'global', 'common_js', "common.js");
uciOriginal.set('gargoyle', 'global', 'require_web_password', "1");
uciOriginal.set('gargoyle', 'global', 'session_timeout', "15");
uciOriginal.set('gargoyle', 'global', 'version', "1.14.0");
uciOriginal.set('gargoyle', 'global', 'fallback_lang', "English-EN");
uciOriginal.set('gargoyle', 'global', 'language', "English-EN");
uciOriginal.set('gargoyle', 'display', '', "display");
uciOriginal.set('gargoyle', 'display', 'firewall', "Firewall");
uciOriginal.set('gargoyle', 'display', 'firewall_portforwarding', "Port Forwarding");
uciOriginal.set('gargoyle', 'display', 'firewall_connlimits', "Connection Limits");
uciOriginal.set('gargoyle', 'display', 'firewall_restriction', "Restrictions");
uciOriginal.set('gargoyle', 'display', 'firewall_quotas', "Quotas");
uciOriginal.set('gargoyle', 'display', 'status', "Status");
uciOriginal.set('gargoyle', 'display', 'status_overview', "Overview");
uciOriginal.set('gargoyle', 'display', 'status_bandwidth', "Bandwidth Usage");
uciOriginal.set('gargoyle', 'display', 'status_bdist', "B/W Distribution");
uciOriginal.set('gargoyle', 'display', 'status_webmon', "Web Usage");
uciOriginal.set('gargoyle', 'display', 'status_quotause', "Quota Usage");
uciOriginal.set('gargoyle', 'display', 'status_hosts', "Connected Hosts");
uciOriginal.set('gargoyle', 'display', 'status_connections', "Connection List");
uciOriginal.set('gargoyle', 'display', 'connection', "Connection");
uciOriginal.set('gargoyle', 'display', 'connection_dhcp', "DHCP");
uciOriginal.set('gargoyle', 'display', 'connection_basic', "Basic");
uciOriginal.set('gargoyle', 'display', 'connection_advanced', "Advanced");
uciOriginal.set('gargoyle', 'display', 'connection_routing', "Routing");
uciOriginal.set('gargoyle', 'display', 'system', "System");
uciOriginal.set('gargoyle', 'display', 'system_access', "Router Access");
uciOriginal.set('gargoyle', 'display', 'system_ident', "Identification");
uciOriginal.set('gargoyle', 'display', 'system_time', "Time");
uciOriginal.set('gargoyle', 'display', 'system_plugins', "Plugins");
uciOriginal.set('gargoyle', 'display', 'system_backup', "Backup / Restore");
uciOriginal.set('gargoyle', 'display', 'system_update', "Update Firmware");
uciOriginal.set('gargoyle', 'display', 'system_reboot', "Reboot");
uciOriginal.set('gargoyle', 'display', 'system_about', "About");
uciOriginal.set('gargoyle', 'display', 'logout', "Logout");
uciOriginal.set('gargoyle', 'display', 'connection_tor', "Tor");
uciOriginal.set('gargoyle', 'display', 'connection_openvpn', "OpenVPN");
uciOriginal.set('gargoyle', 'display', 'system_printers', "USB Printer");
uciOriginal.set('gargoyle', 'display', 'connection_wireguard', "Wireguard");
uciOriginal.set('gargoyle', 'display', 'system_minidlna', "DLNA");
uciOriginal.set('gargoyle', 'display', 'system_webcam', "Webcam");
uciOriginal.set('gargoyle', 'display', 'connection_dyndns', "Dynamic DNS");
uciOriginal.set('gargoyle', 'display', 'status_openvpn_connections', "OpenVPN Status");
uciOriginal.set('gargoyle', 'display', 'firewall_qosupload', "QoS (Upload)");
uciOriginal.set('gargoyle', 'display', 'firewall_qosdownload', "QoS (Download)");
uciOriginal.set('gargoyle', 'display', 'status_qos', "QoS Distribution");
uciOriginal.set('gargoyle', 'display', 'status_wireguard_connections', "Wireguard Status");
uciOriginal.set('gargoyle', 'display', 'connection_wol', "Wake on LAN");
uciOriginal.set('gargoyle', 'display', 'system_usb_storage', "USB Storage");
uciOriginal.set('gargoyle', 'display', 'system_logread', "System Logs");
uciOriginal.set('gargoyle', 'scripts', '', "scripts");
uciOriginal.set('gargoyle', 'scripts', 'firewall_portforwarding', "port_forwarding.sh");
uciOriginal.set('gargoyle', 'scripts', 'firewall_connlimits', "connlimits.sh");
uciOriginal.set('gargoyle', 'scripts', 'firewall_restriction', "restriction.sh");
uciOriginal.set('gargoyle', 'scripts', 'firewall_quotas', "quotas.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_overview', "overview.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_bandwidth', "bandwidth.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_bdist', "bandwidth_distribution.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_quotause', "quota_usage.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_webmon', "webmon.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_hosts', "hosts.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_connections', "conntrack.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_basic', "basic.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_advanced', "advanced.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_dhcp', "dhcp.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_routing', "routing.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_access', "access.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_ident', "identification.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_time', "time.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_plugins', "plugins.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_backup', "backup.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_update', "update.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_reboot', "reboot.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_about', "about.sh");
uciOriginal.set('gargoyle', 'scripts', 'logout', "logout.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_tor', "tor.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_dyndns', "ddns.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_openvpn', "openvpn.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_openvpn_connections', "openvpn_connections.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_printers', "printers.sh");
uciOriginal.set('gargoyle', 'scripts', 'firewall_qosupload', "qos_upload.sh");
uciOriginal.set('gargoyle', 'scripts', 'firewall_qosdownload', "qos_download.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_qos', "qos_distribution.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_wireguard', "wireguard.sh");
uciOriginal.set('gargoyle', 'scripts', 'status_wireguard_connections', "wireguard_connections.sh");
uciOriginal.set('gargoyle', 'scripts', 'connection_wol', "wol.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_minidlna', "minidlna.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_webcam', "webcam.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_usb_storage', "usb_storage.sh");
uciOriginal.set('gargoyle', 'scripts', 'system_logread', "logread.sh");
uciOriginal.set('gargoyle', 'firewall', '', "300");
uciOriginal.set('gargoyle', 'firewall', 'portforwarding', "100");
uciOriginal.set('gargoyle', 'firewall', 'connlimits', "115");
uciOriginal.set('gargoyle', 'firewall', 'restriction', "125");
uciOriginal.set('gargoyle', 'firewall', 'quotas', "175");
uciOriginal.set('gargoyle', 'firewall', 'qosupload', "200");
uciOriginal.set('gargoyle', 'firewall', 'qosdownload', "300");
uciOriginal.set('gargoyle', 'status', '', "100");
uciOriginal.set('gargoyle', 'status', 'overview', "100");
uciOriginal.set('gargoyle', 'status', 'bandwidth', "200");
uciOriginal.set('gargoyle', 'status', 'bdist', "220");
uciOriginal.set('gargoyle', 'status', 'webmon', "250");
uciOriginal.set('gargoyle', 'status', 'hosts', "400");
uciOriginal.set('gargoyle', 'status', 'connections', "500");
uciOriginal.set('gargoyle', 'connection', '', "200");
uciOriginal.set('gargoyle', 'connection', 'basic', "100");
uciOriginal.set('gargoyle', 'connection', 'advanced', "110");
uciOriginal.set('gargoyle', 'connection', 'dhcp', "200");
uciOriginal.set('gargoyle', 'connection', 'routing', "400");
uciOriginal.set('gargoyle', 'connection', 'tor', "250");
uciOriginal.set('gargoyle', 'connection', 'dyndns', "300");
uciOriginal.set('gargoyle', 'connection', 'openvpn', "225");
uciOriginal.set('gargoyle', 'connection', 'wireguard', "226");
uciOriginal.set('gargoyle', 'connection', 'wol', "500");
uciOriginal.set('gargoyle', 'system', '', "400");
uciOriginal.set('gargoyle', 'system', 'access', "100");
uciOriginal.set('gargoyle', 'system', 'ident', "200");
uciOriginal.set('gargoyle', 'system', 'time', "300");
uciOriginal.set('gargoyle', 'system', 'plugins', "312");
uciOriginal.set('gargoyle', 'system', 'backup', "400");
uciOriginal.set('gargoyle', 'system', 'update', "500");
uciOriginal.set('gargoyle', 'system', 'reboot', "600");
uciOriginal.set('gargoyle', 'system', 'about', "1000");
uciOriginal.set('gargoyle', 'system', 'printers', "360");
uciOriginal.set('gargoyle', 'system', 'minidlna', "352");
uciOriginal.set('gargoyle', 'system', 'webcam', "352");
uciOriginal.set('gargoyle', 'system', 'usb_storage', "350");
uciOriginal.set('gargoyle', 'system', 'logread', "311");
uciOriginal.set('gargoyle', 'logout', '', "500");
uciOriginal.set('gargoyle', 'bandwidth_display', '', "bandwidth_display");
uciOriginal.set('gargoyle', 'help', '', "help");
uciOriginal.set('gargoyle', 'help', 'ddns_1', "1");
setBrowserTimeCookie();
var testAjax = getRequestObj();
if(!testAjax) { window.location = "no_ajax.sh"; }
</script>
<script>
<!--
var passInvalid = false;
var sessionExpired = false;
var loggedOut = false;
var connectedIp = "127.0.0.1";
var quotaIdList = [ ];
var quotaIpLists = [];
var quotaTimes = new Array();
var quotaUsed = new Array();
var quotaLimits = new Array();
var quotaPercents = new Array();
var currentTime = "08/26/25 11:22 NZST";
//-->
</script>
<h1 class="page-header">Login</h1>
<div id="login_status" class="alert alert-danger" role="alert" style="display:none;"></div>
<div class="row">
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Login</h3>
</div>
<div class="panel-body">
<div class="row form-group">
<label class="sr-only" for="password" id="password_label">Enter Admin Password</label>
<span class="col-xs-12">
<input id="password" class="form-control" type="password" oninput="proofreadLengthRange(this,1,999)" onkeydown="checkKey(event)" size="25" placeholder="Enter Admin Password" autocomplete="current-password"/>
<button class="btn btn-default" onclick="doLogin()" >Login</button>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div id="current_time" class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Current Date & Time</h3>
</div>
<div class="panel-body">
<div id="current_time_date"></div>
</div>
</div>
</div>
<div class="col-lg-4">
<div id="current_ip" class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">IP Address</h3>
</div>
<div class="panel-body">
<div id="current_connected_ip">You are currently connected from:<div id="current_connect_ip"></div></div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div id="local_quotas" class="panel panel-default" style="display:none">
<div class="panel-heading">
<h3 class="panel-title">Your Quota</h3>
</div>
<div class="panel-body"></div>
</div>
</div>
<div class="col-lg-4">
<div id="global_quotas" class="panel panel-default" style="display:none">
<div class="panel-heading">
<h3 class="panel-title">Entire Network Quota</h3>
</div>
<div class="panel-body"></div>
</div>
</div>
</div>
<script>
var wireguardClientEnabled = "0";
var wgStatus='Interface wg0 not found';
</script>
<div id="wireguard_fields" style="display:none" class="row">
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Wireguard Client</h3>
</div>
<div class="panel-body">
<div class="row">
<span class="col-xs-5" id='wireguard_status_label'>Wireguard Status:</span>
<span class="col-xs-7" id='wireguard_status' style="font-weight:bold;"></span>
</div>
</div>
</div>
</div>
</div>
<script>
var openvpnEnabled = "0";
var openvpnClientEnabled = "false";
var tunIp="";
var openvpnProc="";
var ovpnTransRunC='Running, Connected';
var ovpnTransRunNC='Running, Not Connected';
var ovpnTransRunNot='Not Running';
</script>
<div id="openvpn_fields" style="display:none" class="row">
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">OpenVPN Client</h3>
</div>
<div class="panel-body">
<div class="row">
<span class="col-xs-5" id='openvpn_status_label'>OpenVPN Status:</span>
<span class="col-xs-7" id='openvpn_status' style="font-weight:bold;"></span>
</div>
</div>
</div>
</div>
</div>
<script>
var torEnabled = "0";
var torClientMode = "0";
var torIsActive = "ipset v7.15: The set with the given name does not exist";
</script>
<div id="tor_fields" style="display:none" class="row">
<div class="col-lg-6">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Tor</h3>
</div>
<div class="panel-body">
<div class="row">
<span id="tor_status_label" class="col-xs-5">For your IP, Tor is:</span>
<span id="tor_status" class="col-xs-7" style="font-weight:bold;"></span>
</div>
<div class="row">
<span class="col-xs-12">
<button id="set_tor_button" class="btn btn-default" onclick="updateTorStatus()">Enable Tor For Your IP</button>
</span>
</div>
</div>
</div>
</div>
</div>
<script>
<!--
document.getElementById('password').focus();
setStatusAndQuotas();
document.getElementById("current_connect_ip").innerHTML=connectedIp;
//-->
</script>
</div>
</div>
</div>
<div id="sidebar" class="col-xs-12 col-md-2 col-lg-2 col-md-pull-10 col-lg-pull-10 full-height">
<ul class="nav sidebar" >
<li class="sidebar-header">
<span id="garg_title">Gargoyle</span><br/>
<img src="/themes/Gargoyle/images/gargoyle-logo.png" class="avatar" alt="Gargoyle Logo"><br/>
<span id="garg_host">Device Name: Gargoyle</span>
</li>
<li id="nav_MAJ01_MIN00" class="sidebar-item major-sidebar-item "><a href="#" onclick="uncollapseNavThis(this);return false">Status</a>
<ul class="sidebar-list">
<li id="nav_MAJ01_MIN01" class="sidebar-item minor-sidebar-item sidebar-top-subelement"><a href="/overview.sh">Overview</a></li>
<li id="nav_MAJ01_MIN02" class="sidebar-item minor-sidebar-item "><a href="/bandwidth.sh">Bandwidth Usage</a></li>
<li id="nav_MAJ01_MIN03" class="sidebar-item minor-sidebar-item "><a href="/bandwidth_distribution.sh">B/W Distribution</a></li>
<li id="nav_MAJ01_MIN04" class="sidebar-item minor-sidebar-item "><a href="/webmon.sh">Web Usage</a></li>
<li id="nav_MAJ01_MIN05" class="sidebar-item minor-sidebar-item "><a href="/hosts.sh">Connected Hosts</a></li>
<li id="nav_MAJ01_MIN06" class="sidebar-item minor-sidebar-item sidebar-bottom-subelement"><a href="/conntrack.sh">Connection List</a></li>
</ul>
</li>
<li id="nav_MAJ02_MIN00" class="sidebar-item major-sidebar-item "><a href="#" onclick="uncollapseNavThis(this);return false">Connection</a>
<ul class="sidebar-list">
<li id="nav_MAJ02_MIN01" class="sidebar-item minor-sidebar-item sidebar-top-subelement"><a href="/basic.sh">Basic</a></li>
<li id="nav_MAJ02_MIN02" class="sidebar-item minor-sidebar-item "><a href="/advanced.sh">Advanced</a></li>
<li id="nav_MAJ02_MIN03" class="sidebar-item minor-sidebar-item "><a href="/dhcp.sh">DHCP</a></li>
<li id="nav_MAJ02_MIN04" class="sidebar-item minor-sidebar-item "><a href="/openvpn.sh">OpenVPN</a></li>
<li id="nav_MAJ02_MIN05" class="sidebar-item minor-sidebar-item "><a href="/wireguard.sh">Wireguard</a></li>
<li id="nav_MAJ02_MIN06" class="sidebar-item minor-sidebar-item "><a href="/tor.sh">Tor</a></li>
<li id="nav_MAJ02_MIN07" class="sidebar-item minor-sidebar-item "><a href="/ddns.sh">Dynamic DNS</a></li>
<li id="nav_MAJ02_MIN08" class="sidebar-item minor-sidebar-item "><a href="/routing.sh">Routing</a></li>
<li id="nav_MAJ02_MIN09" class="sidebar-item minor-sidebar-item sidebar-bottom-subelement"><a href="/wol.sh">Wake on LAN</a></li>
</ul>
</li>
<li id="nav_MAJ03_MIN00" class="sidebar-item major-sidebar-item "><a href="#" onclick="uncollapseNavThis(this);return false">Firewall</a>
<ul class="sidebar-list">
<li id="nav_MAJ03_MIN01" class="sidebar-item minor-sidebar-item sidebar-top-subelement"><a href="/port_forwarding.sh">Port Forwarding</a></li>
<li id="nav_MAJ03_MIN02" class="sidebar-item minor-sidebar-item "><a href="/connlimits.sh">Connection Limits</a></li>
<li id="nav_MAJ03_MIN03" class="sidebar-item minor-sidebar-item "><a href="/restriction.sh">Restrictions</a></li>
<li id="nav_MAJ03_MIN04" class="sidebar-item minor-sidebar-item "><a href="/quotas.sh">Quotas</a></li>
<li id="nav_MAJ03_MIN05" class="sidebar-item minor-sidebar-item "><a href="/qos_upload.sh">QoS (Upload)</a></li>
<li id="nav_MAJ03_MIN06" class="sidebar-item minor-sidebar-item sidebar-bottom-subelement"><a href="/qos_download.sh">QoS (Download)</a></li>
</ul>
</li>
<li id="nav_MAJ04_MIN00" class="sidebar-item major-sidebar-item "><a href="#" onclick="uncollapseNavThis(this);return false">System</a>
<ul class="sidebar-list">
<li id="nav_MAJ04_MIN01" class="sidebar-item minor-sidebar-item sidebar-top-subelement"><a href="/access.sh">Router Access</a></li>
<li id="nav_MAJ04_MIN02" class="sidebar-item minor-sidebar-item "><a href="/identification.sh">Identification</a></li>
<li id="nav_MAJ04_MIN03" class="sidebar-item minor-sidebar-item "><a href="/time.sh">Time</a></li>
<li id="nav_MAJ04_MIN04" class="sidebar-item minor-sidebar-item "><a href="/logread.sh">System Logs</a></li>
<li id="nav_MAJ04_MIN05" class="sidebar-item minor-sidebar-item "><a href="/plugins.sh">Plugins</a></li>
<li id="nav_MAJ04_MIN06" class="sidebar-item minor-sidebar-item "><a href="/usb_storage.sh">USB Storage</a></li>
<li id="nav_MAJ04_MIN07" class="sidebar-item minor-sidebar-item "><a href="/minidlna.sh">DLNA</a></li>
<li id="nav_MAJ04_MIN08" class="sidebar-item minor-sidebar-item "><a href="/webcam.sh">Webcam</a></li>
<li id="nav_MAJ04_MIN09" class="sidebar-item minor-sidebar-item "><a href="/printers.sh">USB Printer</a></li>
<li id="nav_MAJ04_MIN10" class="sidebar-item minor-sidebar-item "><a href="/backup.sh">Backup / Restore</a></li>
<li id="nav_MAJ04_MIN11" class="sidebar-item minor-sidebar-item "><a href="/update.sh">Update Firmware</a></li>
<li id="nav_MAJ04_MIN12" class="sidebar-item minor-sidebar-item "><a href="/reboot.sh">Reboot</a></li>
<li id="nav_MAJ04_MIN13" class="sidebar-item minor-sidebar-item sidebar-bottom-subelement"><a href="/about.sh">About</a></li>
</ul>
</li>
<li id="nav_MAJ05_MIN00" class="sidebar-item major-sidebar-item "><a href="/logout.sh" onclick="return true">Logout</a>
</li>
</ul>
<div class="sidebar-footer">
<div class="col-xs-6">
<a href="/logout.sh">Logout</a>
</div>
<div class="col-xs-6">
<a href="https://www.gargoyle-router.com/" target="_blank">Support</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
Re: DynDNS set to 127.0.0.1
Ok, so this is the root cause of the problem.
Whatever Pihole is doing with the blocked domain, it’s causing it to query Gargoyle itself rather than the real website.
You’re effectively browsing the login screen.
The login screen has a “you’re currently connected from IP: xxx” string in it. And guess what that says if it’s browsing itself? 127.0.0.1…
So this does not appear to be a fault of Gargoyle, PiHole is causing a bad interaction. I suspect PiHole is returning 127.0.0.1 instead of NXDOMAIN, despite your nslookup results.
Now arguably, maybe Gargoyle should be improved to ignore 127.0.0.1…
So blocking it at Gargoyle itself. This assumes that Gargoyle is still handling DNS and is forwarding to PiHole.
Take a look at /etc/config/dhcp
In the “dnsmasq” section (usually the first one) you need to add a new entry
list server '/aruljohn.com/'
Note that you may already have “list server” options present. Simply tack this onto the next line after the last one.
Restart dnsmasq /etc/init.d/dnsmasq restart
Now when that domain is queried (or any subdomains of it) it will return NXDOMAIN. The PiHole will never see these requests as they will be stopped there.
That should put an end to it.
Whatever Pihole is doing with the blocked domain, it’s causing it to query Gargoyle itself rather than the real website.
You’re effectively browsing the login screen.
The login screen has a “you’re currently connected from IP: xxx” string in it. And guess what that says if it’s browsing itself? 127.0.0.1…
So this does not appear to be a fault of Gargoyle, PiHole is causing a bad interaction. I suspect PiHole is returning 127.0.0.1 instead of NXDOMAIN, despite your nslookup results.
Now arguably, maybe Gargoyle should be improved to ignore 127.0.0.1…
So blocking it at Gargoyle itself. This assumes that Gargoyle is still handling DNS and is forwarding to PiHole.
Take a look at /etc/config/dhcp
In the “dnsmasq” section (usually the first one) you need to add a new entry
list server '/aruljohn.com/'
Note that you may already have “list server” options present. Simply tack this onto the next line after the last one.
Restart dnsmasq /etc/init.d/dnsmasq restart
Now when that domain is queried (or any subdomains of it) it will return NXDOMAIN. The PiHole will never see these requests as they will be stopped there.
That should put an end to it.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog
Please be respectful when posting. I do this in my free time on a volunteer basis.
https://lantisproject.com/blog