LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-15-2008, 05:57 PM   #1
BinarySpike
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Setting default dns


Hello, I have recently setup bind9 and would like to set it as my default dns on my linux. (right now nslookup is saying "Server: 192.168.0.1" which is my router)

Basically, I want a dns that has like 1 zone, then if the user tries to pull up google.com it will use their main dns. (I don't want to route my home computer through my works ISP's DNS)

I'm a computer consultant, and although I know quite a lot about unix-like operating systems, I don't know where all the configuration files for linux are. (specifically the dns my linux pulls from by default)

Simply, How do I set my debian's default dns from 192.168.0.1 (router) to 192.168.0.101 (localhost)?

Last edited by BinarySpike; 04-15-2008 at 06:00 PM.
 
Old 04-15-2008, 07:05 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Check out /etc/resolv.conf

-twantrd
 
Old 04-16-2008, 10:04 AM   #3
BinarySpike
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by twantrd View Post
Check out /etc/resolv.conf

-twantrd
Wow thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dns - default reverse record muha Linux - Networking 2 08-15-2007 02:10 AM
Prevent dhclient from setting default GW and DNS servers carlosruiz Linux - Networking 1 06-30-2006 01:05 AM
BIND DNS Default Host movitto Linux - Networking 1 03-19-2006 06:02 PM
default page for domains hosted on my DNS marsguy Linux - Software 2 09-19-2005 09:24 AM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration