Home > DNS > Addin DNS records

Addin DNS records



This is what I抳e done for a bind dns server ?in the zone file I抳e added records for the haha.com in the zone section for named.conf

Ive also created a corresponding zone file Xhaha.com.zone - and the domain name resolving in working well.

My question is ?what if I wanted to have another record for Xhaha2.com ?do I go through the same process of creating another zonefile for Xhaha2.com.zone and add a zone record Xhaha2.com. in the zone section of named.conf ? if so where do I place the record within the named.conf file

    
Guest


Just add it under the other entry in your named.conf



e.g.:


Code:



zone "haha.com" {
type master;
file "/var/named/haha.com.hosts";
};



zone "haha2.com" {
type master;
file "/var/named/haha2.com.hosts";
};






Each zone needs it's own zone file

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved