msidnam
asked on
adding dns subdomain on exisiting ubuntu bind server
i have dns working on an ubunut server for one domain and would like to add a subdomain. (ie, test.example.com)
i added the new domain in named.conf.local and created the .db file in /etc/bind/zones but i cant get it to resolve. i can find guides on how to create the initials domain but none about adding multiple domains to one server.
i added the new domain in named.conf.local and created the .db file in /etc/bind/zones but i cant get it to resolve. i can find guides on how to create the initials domain but none about adding multiple domains to one server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$ORIGIN is in every zone, whether you see it or not ;)
http://www.zytrax.com/books/dns/ch8/origin.html
http://www.zytrax.com/books/dns/ch8/origin.html
ASKER
that worked great. thank you.
i'm thinking of putting the subdomain on a different network. would i need to so anything other than add a nic to the dns server and make sure it can connect to the other network?
i'm thinking of putting the subdomain on a different network. would i need to so anything other than add a nic to the dns server and make sure it can connect to the other network?
Technically you don't even need to add a physical nic, you can just create a virtual. But either way yeah just make sure connectivity works between subnets and you should be fine as long as your 'listen-on' option in named.conf includes that interface.
ASKER