I am trying to add a DNS server to Ubuntu that does not utilize the default port 53. How is this possible in Ubuntu? Irc.ubuntu.com #ubuntu was uncertain this was possible. Adding a host <dns_server_ip>:<port> failed to work in Ubuntu 9.10. I wish to do this on the client side, not the server side (server is setup with a non-port 53 port).
One makeshift suggestion was:
ssh -2 -4 -N -T -R remotehost:5353:localhost:53
//substitute 5353 for the remote dns port
Another suggestion would be temporarily editing the /etc/resolv.conf But this would change upon reboot.
There should be a easier way to do this.
Bookmarks