Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2012, 20:34
rs87 rs87 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Root Name Server + TLD Server

Im doing an assignment for DNS on Ubuntu 10 using BIND9. Everything is on an internal network with private IP addresses and not access to the internet.
I have set up my own root name server (.) and a top level domain server (com). I also have another server configured for example.com. In the root name server's zone file I have the A record for the TLD server (com) and when I do "nslookup com" I get the address of the root name server and then the correct address of the com server. When I do "nslookup example.com" I get the output "server cant find example.com: NXDOMAIN".

What I want to do is when I do "nslookup example.com" I want it to return the IP address of the top level domain (com) server. I dont want to include the A record of example.com in the root zone file because then it will give me the address of example.com and not com. Can any please tell me how I can do this?

Here is the zone file of my root name server:
$TTL 604800
$ORIGIN .
@ IN SOA root.net. root.root.net. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
. IN NS root.net.
root.net. IN A 172.16.2.10
com. IN A 172.16.2.11
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 01:15
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
Too many ispconfig_access_log_* files cryptic Installation/Configuration 15 28th September 2010 14:31
Databases don't work homo General 5 9th June 2009 12:55
ISPConfig pop3 problem mphayesuk General 21 31st October 2005 11:53


All times are GMT +2. The time now is 19:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.