LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2005, 11:16 AM   #1
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Rep: Reputation: 15
Dns


Hello All,

Pls. let me know how can i create a "." level DNS in linux, with my own named.ca? Also, i am having an Internet connection and my ISP has given me a static private IP, if i create a local DNS, with same static private IP, then is it possible for the machine to connect to Internet if i do not use the external nameserver IPs given by my ISP? I mean is my local DNS able to connect to one of the top level DNS provided in original named.ca, without my ISP nameservers?
 
Old 06-28-2005, 01:16 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
You just need to install BIND and configure it to accomplish this. You should be able to access any nameserver from your connection.
 
Old 06-29-2005, 10:32 AM   #3
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
Hi,

i intalled the bind rmp on my system, and i have configured the machine as DNS, however when i try to connect to outside world, without providing my ISP nameservers, it does not resolve the host names!!! SO that means that it is not connecting to any of the top root servers provided in named.ca. Any idea why???

PS: I am using private IP on my DNS machine i.e. 10.13.241.20
 
Old 06-29-2005, 10:58 AM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You need to check and see if BIND is running on your machine. Just installing BIND from an RPM doesn't (usually) turn it on or make it run at boot. From the box you installed it on, try the command
Code:
dig @10.13.241.20 google.com
That asks for the DNS info about google from your box. The private/public address of the nameserver doesn't matter at all, the only thing that is important is that the DNS box can access the public internet to find addresses for everything it isn't authoritative for.

Peace,
JimBass
 
Old 07-03-2005, 11:36 PM   #5
IwantLINUX
Member
 
Registered: Oct 2004
Location: India
Distribution: RH9,Fedora
Posts: 75

Original Poster
Rep: Reputation: 15
hi JimBass,

Thanks a million for your valuable reply....all is set and working perfect...now i can access the websites with only my machine as DNS.....

Tnx again...
 
  


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 client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 04:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 02:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 02:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 01:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 02:54 PM


All times are GMT -5. The time now is 12:15 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