LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   BIND without default route? (https://www.linuxquestions.org/questions/linux-networking-3/bind-without-default-route-451309/)

Xeta 06-03-2006 04:56 PM

BIND without default route?
 
Is it possible to get BIND to work without a default route set up?

i've got 3 DNS servers configured in network config, but if i dont have a default route, it seems i cant resolve anything.


any help on this?

while im on this, what can i use to manage BIND, like web address cached and so on,

thnx

acid_kewpie 06-03-2006 05:07 PM

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.

Xeta 06-04-2006 06:35 AM

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?

thnx.

acid_kewpie 06-04-2006 08:04 AM

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>

Xeta 06-05-2006 08:23 AM

lol

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.

acid_kewpie 06-05-2006 12:46 PM

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


All times are GMT -5. The time now is 08:25 PM.