|
|
|
| ||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Addin DNS records
This is what I’ve done for a bind dns server – in the zone file I’ve 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 |
|
#2
|
||||
|
||||
|
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
__________________
Cooking Forums |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Addin DNS records |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|