The output of this command gives two nameservers, they are my ISP's DNS servers and not OpenDNS as I have configuredcat /tmp/resolv.conf.auto
Dynamic DNS Improvements
Moderator: Moderators
Re: Dynamic DNS Improvements
- DoesItMatter
- Moderator
- Posts: 1373
- Joined: Thu May 21, 2009 3:56 pm
Re: Dynamic DNS Improvements
You could try and do one other test.
Is it possible your ISP is forcing you to use their DNS?
If you hookup 1 PC directly to the modem and under
the configuration for your network card
Find the setting where you can choose the radio button for
Use the following DNS servers
And enter in the IP addresses of OpenDNS
Then try to disable and re-enable the network device
After that try doing an
IPConfig /ALL
from a command line window
IF the openDNS servers still do not show up there,
then your ISP might be forcing you to use their DNS servers?
Is it possible your ISP is forcing you to use their DNS?
If you hookup 1 PC directly to the modem and under
the configuration for your network card
Find the setting where you can choose the radio button for
Use the following DNS servers
And enter in the IP addresses of OpenDNS
Then try to disable and re-enable the network device
After that try doing an
IPConfig /ALL
from a command line window
IF the openDNS servers still do not show up there,
then your ISP might be forcing you to use their DNS servers?
Soylent Green Is People!
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
With DHCP connection:
With PPPoE connection:
Eric: Let us know if you want any more commands run.
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 3446 packets, 237K bytes)
pkts bytes target prot opt in out source destination
110 16511 zone_wan_prerouting all -- eth0.1 any anywhere anywhere
1538 126K zone_lan_prerouting all -- br-lan any anywhere anywhere
1435 129K prerouting_rule all -- any any anywhere anywhere
Chain POSTROUTING (policy ACCEPT 1366 packets, 92054 bytes)
pkts bytes target prot opt in out source destination
1458 118K postrouting_rule all -- any any anywhere anywhere
1458 118K zone_wan_nat all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 1709 packets, 118K bytes)
pkts bytes target prot opt in out source destination
Chain pf_loopback_A (1 references)
pkts bytes target prot opt in out source destination
Chain pf_loopback_C (1 references)
pkts bytes target prot opt in out source destination
Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination
9 2682 pf_loopback_C all -- any br-lan anywhere anywhere
Chain prerouting_lan (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination
Chain zone_lan_nat (0 references)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any br-lan anywhere anywhere
Chain zone_lan_prerouting (1 references)
pkts bytes target prot opt in out source destination
0 0 pf_loopback_A all -- any any anywhere 10.10.10.2
228 14814 REDIRECT udp -- any any anywhere anywhere udp dpt:53
0 0 REDIRECT tcp -- any any anywhere anywhere tcp dpt:53
1310 111K prerouting_lan all -- any any anywhere anywhere
Chain zone_wan_nat (1 references)
pkts bytes target prot opt in out source destination
1396 112K MASQUERADE all -- any eth0.1 anywhere anywhere
Chain zone_wan_prerouting (1 references)
pkts bytes target prot opt in out source destination
110 16511 prerouting_wan all -- any any anywhere anywhere
root@OpenWrt:~#
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# uci show network
network.eth0=switch
network.eth0.vlan0=0 1 2 3 5*
network.eth0.vlan1=4 5
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.ifname=eth0.0
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=208.67.222.222 208.67.220.220
network.wan=interface
network.wan.ifname=eth0.1
network.wan.dns=208.67.222.222 208.67.220.220
network.wan.proto=dhcp
root@OpenWrt:~#
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 3850 packets, 281K bytes)
pkts bytes target prot opt in out source destination
7 601 zone_wan_prerouting all -- ppp0 any anywhere anywhere
185 22238 zone_lan_prerouting all -- br-lan any anywhere anywhere
166 25574 prerouting_rule all -- any any anywhere anywhere
Chain POSTROUTING (policy ACCEPT 1382 packets, 93975 bytes)
pkts bytes target prot opt in out source destination
123 14672 postrouting_rule all -- any any anywhere anywhere
123 14672 zone_wan_nat all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 1775 packets, 123K bytes)
pkts bytes target prot opt in out source destination
Chain pf_loopback_A (1 references)
pkts bytes target prot opt in out source destination
Chain pf_loopback_C (1 references)
pkts bytes target prot opt in out source destination
Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination
0 0 pf_loopback_C all -- any br-lan anywhere anywhere
Chain prerouting_lan (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination
Chain zone_lan_nat (0 references)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any br-lan anywhere anywhere
Chain zone_lan_prerouting (1 references)
pkts bytes target prot opt in out source destination
0 0 pf_loopback_A all -- any any anywhere ppp118-208-215-6.lns10.mel6.internode.on.net
40 2547 REDIRECT udp -- any any anywhere anywhere udp dpt:53
0 0 REDIRECT tcp -- any any anywhere anywhere tcp dpt:53
145 19691 prerouting_lan all -- any any anywhere anywhere
Chain zone_wan_nat (1 references)
pkts bytes target prot opt in out source destination
114 13996 MASQUERADE all -- any ppp0 anywhere anywhere
Chain zone_wan_prerouting (1 references)
pkts bytes target prot opt in out source destination
7 601 prerouting_wan all -- any any anywhere anywhere
root@OpenWrt:~#
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# uci show network
network.eth0=switch
network.eth0.vlan0=0 1 2 3 5*
network.eth0.vlan1=4 5
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.ifname=eth0.0
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=208.67.222.222 208.67.220.220
network.wan=interface
network.wan.ifname=eth0.1
network.wan.dns=208.67.222.222 208.67.220.220
network.wan.proto=pppoe
network.wan.username=*******@internode.on.net
network.wan.password=*******
network.wan.keepalive=3 5
root@OpenWrt:~#
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
Trying to delve a little deeper but not getting very far.
All my experience with BusyBox (not very much) up till now has been with setups where all the commands have been compiled into BusyBox.
I tried:
the system returns with:
I suspect this means ls has not been compiled into BusyBox.
Am I right?
PS. Forget my question. I'm making slow progress now.
All my experience with BusyBox (not very much) up till now has been with setups where all the commands have been compiled into BusyBox.
I tried:
Code: Select all
ln -s /bin/busybox ls
./ls
Code: Select all
ls
Am I right?
PS. Forget my question. I'm making slow progress now.
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
Eric: In response to the following:
I get:
These are the Primary and Secondary DNS Servers of my ISP provider.
Code: Select all
cat /tmp/resolv.conf.auto
Code: Select all
nameserver 192.231.203.132
nameserver 192.231.203.3
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
Apart from my mistaken thinking that checking WAN IP was the default setup for DDNS, the other reason I pursued the PPPoE connection setup was that I thought it would make things easier when connecting Gargoyle to a modem/router that used the same address space as Gargoyle (ie. just set it to bridge mode).
One such modem/router is the Billion Bipac 5100.
In my earlier posting where I said I had achieved success with a DHCP connection I used a Cisco router which uses a different address space than Gargoyle.
I have now achieved success using a Billion Bipac 5100 by setting it's DHCP server to "Relay" and the Gargoyle WAN connection to "Static IP (Wired)".
Following are details of Gargoyle inner settings with this setup for those that understand all this stuff:
One such modem/router is the Billion Bipac 5100.
In my earlier posting where I said I had achieved success with a DHCP connection I used a Cisco router which uses a different address space than Gargoyle.
I have now achieved success using a Billion Bipac 5100 by setting it's DHCP server to "Relay" and the Gargoyle WAN connection to "Static IP (Wired)".
Following are details of Gargoyle inner settings with this setup for those that understand all this stuff:
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# iptables -t nat -L -v
Chain PREROUTING (policy ACCEPT 40511 packets, 2194K bytes)
pkts bytes target prot opt in out source destination
14 5282 zone_wan_prerouting all -- eth0.1 any anywhere anywhere
250 25704 zone_lan_prerouting all -- br-lan any anywhere anywhere
114 21921 prerouting_rule all -- any any anywhere anywhere
Chain POSTROUTING (policy ACCEPT 1817 packets, 189K bytes)
pkts bytes target prot opt in out source destination
267 26905 postrouting_rule all -- any any anywhere anywhere
267 26905 zone_wan_nat all -- any any anywhere anywhere
Chain OUTPUT (policy ACCEPT 2417 packets, 232K bytes)
pkts bytes target prot opt in out source destination
Chain pf_loopback_A (1 references)
pkts bytes target prot opt in out source destination
Chain pf_loopback_C (1 references)
pkts bytes target prot opt in out source destination
Chain postrouting_rule (1 references)
pkts bytes target prot opt in out source destination
3 750 pf_loopback_C all -- any br-lan anywhere anywhere
Chain prerouting_lan (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_rule (1 references)
pkts bytes target prot opt in out source destination
Chain prerouting_wan (1 references)
pkts bytes target prot opt in out source destination
Chain zone_lan_nat (0 references)
pkts bytes target prot opt in out source destination
0 0 MASQUERADE all -- any br-lan anywhere anywhere
Chain zone_lan_prerouting (1 references)
pkts bytes target prot opt in out source destination
153 9799 REDIRECT udp -- any any anywhere anywhere udp dpt:53
0 0 REDIRECT tcp -- any any anywhere anywhere tcp dpt:53
0 0 pf_loopback_A all -- any any anywhere 192.168.1.101
97 15905 prerouting_lan all -- any any anywhere anywhere
Chain zone_wan_nat (1 references)
pkts bytes target prot opt in out source destination
240 24567 MASQUERADE all -- any eth0.1 anywhere anywhere
Chain zone_wan_prerouting (1 references)
pkts bytes target prot opt in out source destination
14 5282 prerouting_wan all -- any any anywhere anywhere
root@OpenWrt:~#
Code: Select all
login as: root
root@192.168.1.1's password:
BusyBox v1.11.2 (2009-07-31 07:43:52 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (8.09.1, unknown) ----------------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# uci show network
network.eth0=switch
network.eth0.vlan0=0 1 2 3 5*
network.eth0.vlan1=4 5
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.type=bridge
network.lan.ifname=eth0.0
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=208.67.222.222 208.67.220.220
network.wan=interface
network.wan.ifname=eth0.1
network.wan.dns=208.67.222.222 208.67.220.220
network.wan.proto=static
network.wan.ipaddr=192.168.1.101
network.wan.netmask=255.255.255.0
network.wan.gateway=192.168.1.254
root@OpenWrt:~#
Re: Dynamic DNS Improvements
Ok.. I think I may have identified the problem with open DNS for people using PPPoE. Below is a link to a (broadcom-2.4) test build with an experimental fix. If someone who has a PPPoE connection (BikeMike? uncle john?) could test this, it would be much appreciated!
gargoyle_1.0.10_ppp_dns_test-brcm-2.4-squashfs.trx
gargoyle_1.0.10_ppp_dns_test-brcm-2.4-squashfs.trx
Re: Dynamic DNS Improvements
I can confirm that the 1.0.10 test version now works correctly for me on PPPoE using alternate DNS servers. The force option also works as expected. QOS graphs are back too.
As a feature suggestion, it would be good if I could use the force DNS option but have exceptions for 1 or 2 client PCs. (ie. OpenDNS forced for kids site blocking but adult PCs use an alternate DNS configured on the PC)
For now I have added OpenDNS servers but not using the force DNS option, so they are only used by default. This is probably good enough for non-Tech savvy kids!
As a feature suggestion, it would be good if I could use the force DNS option but have exceptions for 1 or 2 client PCs. (ie. OpenDNS forced for kids site blocking but adult PCs use an alternate DNS configured on the PC)
For now I have added OpenDNS servers but not using the force DNS option, so they are only used by default. This is probably good enough for non-Tech savvy kids!
Last edited by BikeMike on Sat Sep 12, 2009 7:48 pm, edited 1 time in total.
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
Eric: My wife thinks she is a computer widow at the moment so I won't be testing this for a while. From what BikeMike says I'm pretty confident that it works OK. Thanks so much for sorting this out.
-
- Posts: 146
- Joined: Sun Jun 21, 2009 11:27 pm
- Location: Australia
Re: Dynamic DNS Improvements
Alternatively use multiple PPPoE connections. See my comment at http://www.gargoyle-router.com/phpbb/vi ... t=10#p1633BikeMike wrote:...
As a feature suggestion, it would be good if I could use the force DNS option but have exceptions for 1 or 2 client PCs. (ie. OpenDNS forced for kids site blocking but adult PCs use an alternate DNS configured on the PC)
...