"Cowles, Steve" wrote:

> I think he's talking about a single system that is the SOA for multiple
> domains. Plus e-mail! i.e. virtual
>
> If thats the case (see below)... Note that ns1.mydomain-1.com and
> ns2.mydomain-1.com are the SOA/NS for both zones. In other words, they are
> the name servers that are registered at the TLD's. The MX records for both
> zones can be the same or or reference different systems. Adjust the IP's to
> fit your network.
>
> ;##############################################################
> ; Start of Authority for mydomain-1.com.
> ; Filename: db.mydomain-1
> ;##############################################################
> $TTL    1d
> @       7d      IN      SOA     ns1.mydomain-1.com. (
>         netadmin.mydomain-1.com.
>         2002100208 ; serial
>         1h         ; refresh
>         30m        ; retry
>         7d         ; expire
>         1h )       ; negative cache
>
> ;############################################################
> ; mydomain-1.com Nameserver Records (NS)
> ;############################################################
> @               7d      IN      NS      ns1.mydomain-1.com.
> @               7d      IN      NS      ns2.mydomain-1.com.
>
> ;############################################################
> ; mydomain-1.com  Address Records (A)
> ;############################################################
> localhost       1d      IN      A       127.0.0.1
>
> ; Name Server address records
> ns1             1d      IN      A       192.168.9.3
> ns2             1d      IN      A       192.168.8.2
>
> ; Web/Internet based address records
> www             1d      IN      A       192.168.8.2
> ftp             1d      IN      A       192.168.8.2
> mail            1d      IN      A       192.168.9.3
> smtp            1d      IN      A       192.168.9.2
> news            1d      IN      A       192.168.9.3
>
> ; Static Server/Workstation address records
> server1         1d      IN      A       192.168.8.2
> server2         1d      IN      A       192.168.9.2
> server3         1d      IN      A       192.168.9.3
> pdc             1d      IN      A       192.168.9.4
>
> ; Assign DHCP address range
> $GENERATE 25-254  dhcp-8-$      A       192.168.8.$
> $GENERATE 25-254  dhcp-9-$      A       192.168.9.$
>
> ;############################################################
> ; Current Aliases for mydomain-1.com (CNAME)
> ;############################################################
> ; Alias MS Domain Name COWLES and point towards the PDC
> cowles          1d      IN      CNAME   pdc.mydomain-1.com.
>
> ;############################################################
> ; mydomain-1.com A (ADDRESS) and MX Records (MAIL EXCHANGER)
> ;############################################################
> @               1d      IN      A       192.168.9.3
> @               1d      IN      MX 0    smtp.mydomain-1.com.
>
> -------------------
>
> ;##############################################################
> ; Start of Authority for mydomain-2.com.
> ; Filename: db.mydomain-2
> ;##############################################################
> $TTL    1d
> @       7d      IN      SOA     ns1.mydomain-1.com. (
>         netadmin.mydomain-2.com.
>         2002100208 ; serial
>         1h         ; refresh
>         30m        ; retry
>         7d         ; expire
>         1h )       ; negative cache
>
> ;############################################################
> ; mydomain-2.com Nameserver Records (NS)
> ;############################################################
> @               7d      IN      NS      ns1.mydomain-1.com.
> @               7d      IN      NS      ns2.mydomain-1.com.

Sorry, I don't quite understand why these setting "mydomain-2.com Nameserver
Records (NS)" ?
Why didn't the following setting ?
;##########################################
@               7d      IN      NS      ns1.mydomain-2.com.
@               7d      IN      NS      ns2.mydomain-2.com.
;##########################################

I want to know why "Note that ns1.mydomain-1.com and ns2.mydomain-1.com are the
SOA/NS for both zones." ?

;############################################################

> ; mydomain-2.com  Address Records (A)
> ;############################################################
> localhost       1d      IN      A       127.0.0.1
>
> ; Name Server recordsa (not really used)
> ns1             1d      IN      A       192.168.9.3
> ns2             1d      IN      A       192.168.8.2
>
> ; Web/Internet based records
> www             1d      IN      A       192.168.8.2
> ftp             1d      IN      A       192.168.8.2
> mail            1d      IN      A       192.168.9.3
> smtp            1d      IN      A       192.168.9.2
> news            1d      IN      A       192.168.9.3
>
> ; Static Server/Workstation records
> server1         1d      IN      A       192.168.8.2
> server2         1d      IN      A       192.168.9.2
> server3         1d      IN      A       192.168.9.3
> pdc             1d      IN      A       192.168.9.4
>
> ; Assign DHCP address range
> $GENERATE 25-254  dhcp-8-$      A       192.168.8.$
> $GENERATE 25-254  dhcp-9-$      A       192.168.9.$
>
> ;############################################################
> ; Current Aliases for mydomain-2.com (CNAME)
> ;############################################################
> ; Alias MS Domain Name COWLES and point towards the PDC
> cowles          1d      IN      CNAME   pdc.mydomain-2.com.
>
> ;############################################################
> ; mydomain-2.com A (ADDRESS) and MX Records (MAIL EXCHANGER)
> ;############################################################
> @               1d      IN      A       192.168.9.3
> @               1d      IN      MX 0    smtp.mydomain-2.com.
>
> ----- /etc/named.conf ------
>
> # Load mydomain-1.com zone as a master
>     zone "mydomain-1.com" in {
>         type master;
>         file "db.mydomain-1";
> };
>
> # Load mydomain-2.com zone as a master
>     zone "mydomain-2.com" in {
>         type master;
>         file "db.mydomain-2";
> };
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to