I finally got round to setting up the ERX today, but I've managed to get myself lost on a few things. Basic internet access seems to be fine (though I may need to do some more research to make sure I've got things done properly), but for the life of me I can't work out where to put the DNS settings for DNS4Me. Can anyone give me some quick and easy instructions on how to set this up?
You need to do 2 things:
- Disable the receiving of DNS from DHCP/PPPoE
- Configure DNS forwarder to use custom DNS servers
Neither of the above have a configuration page in the main interface. You need to do them either from CLI or "Config Tree".
I will give you instructions on the CLI since you can follow the command to find where you need to change in config tree.
If you are using the commands make sure you are in configure mode and save them afterwards. ie,
I assume your WAN port is eth0 with VLAN 10 and PPPoE. Remove "vif 10" and "pppoe 0" if you are not using them.
Instructions for #1
set interfaces ethernet eth0 vif 10 pppoe 0 dhcp-options name-server no-update
Instructions for #2
set service dns forwarding name-server x.x.x.x # repeat this for more IP addresses
Now if you are using such a service for unblocking purposes, you will want all of your devices to use the DNS server on the router, even if the devices have hard-coded DNS servers (chromecast for example). You can setup destination NAT to force all DNS traffic to your router.
Assume your router's IP is 192.168.0.1
Go to "Firewall/NAT" -> "NAT" -> "Add Destination NAT Rule"
Inbound Interface: Select your LAN interface. Normally it is your switch interface.
Translations: Address 192.168.0.1 Port 53
Protocol: Both TCP and UDP
Dest Address: !192.168.0.1
Dest Port: 53