LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dns (https://www.linuxquestions.org/questions/linux-newbie-8/dns-338028/)

IwantLINUX 06-28-2005 10:16 AM

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? :confused:

Matir 06-28-2005 12:16 PM

You just need to install BIND and configure it to accomplish this. You should be able to access any nameserver from your connection.

IwantLINUX 06-29-2005 09:32 AM

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

JimBass 06-29-2005 09:58 AM

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

IwantLINUX 07-03-2005 10:36 PM

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...


All times are GMT -5. The time now is 03:46 PM.