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.
why would you ever not have a default route??? if for some bizarre reason you honestly shouldn't have one (no chance) then you still need a specific route to point towards your forwarding name server in order to resolve non local addresses.
the reason i asked is cuz i noticed that if my default route has dns service running on it, it would use that to try to resolve addresses instead of the DNS servers that i specify. (case of slow link for default route, and DNS servers being right next to me)
how do i specify the dns service to go through another gateway other than the default route?
i'm sure you're missing something about the default route there... you should really always have a default route, and it should be firewalled as appropriate before reaching external networks. if you mean that you simply don;t have a default route in order to prevent clients using name servers other than your own then why do they have incorrect name servers in the first place, and as above, just firewall them if for some reason you can't do it properly in the first place.
you will never tell dns services to take a different path, they will take which ever path is necessary to reach the destination at ip level. you need to just adjust your routing to enable a route pointing in the right direction... <cough>default route</cough>
i know, its not that i dont have a default route, but i notice that dns lookups go to my default route /gateway (which has dns service running) instead of requesting it from the DNS i specify in the network config.
you mean that dns lookups are being done against the default route SERVER??? well in that case you need to find out why that's happening in the first place..... that should be very simple and more than likely realte to the relevant DHCP server
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.