LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-03-2006, 04:56 PM   #1
Xeta
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Rep: Reputation: 0
Question 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
 
Old 06-03-2006, 05:07 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 06-04-2006, 06:35 AM   #3
Xeta
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 06-04-2006, 08:04 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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>
 
Old 06-05-2006, 08:23 AM   #5
Xeta
LQ Newbie
 
Registered: Apr 2006
Posts: 17

Original Poster
Rep: Reputation: 0
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.
 
Old 06-05-2006, 12:46 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not getting a default route wswartz Linux - Networking 4 10-27-2005 11:25 AM
two default route - help me fabiolpi Linux - Networking 2 07-06-2005 06:35 AM
c++ default route bassdemon Programming 1 02-06-2005 10:29 AM
Route to subnet exists but I get "Network unreachable" when adding default route fciuffani Linux - Networking 4 08-18-2004 02:11 PM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration