Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
You need DNS for working with hostnames, for example :
"ping linuxquestions.org"
64 bytes from linuxquestions.org (64.179.4.146): icmp_seq=1 ttl=47
You need a gateway for reaching a specific point in a network, for example :
"ping 64.179.4.146"
64 bytes from 64.179.4.146: icmp_seq=1 ttl=47 time=117 ms
If you don't have DNS, you can still reach that specific point on a network, by using it's IP-adress and not it's hostname.
If you're gateway is not functioning properly, there is no DNS resolving possible, also network packets don't arrive at that specific point on a network.
If you are just wanting to get access to a dns service then edit /etc/resolv.conf file and enter:
namedserver xx.xx.xx.xx
If you are wanting to provide a caching dns server or full dns services locally then your gateway will provide a way for your server to get to root hints.
again NO, you do not need DNS for a gateway to work. As a matter of fact, the gateway itself doesnt need to know any DNS information if you wanna be technical about it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.