Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 1999 12:39:56 +0000 (GMT)
From:      zulkarnain <zul@unsyiah.ac.id>
To:        freebsd-questions@freebsd.org
Subject:   2 networks, 1 DNS
Message-ID:  <Pine.BSF.4.05.9905111204170.21917-100000@pinto.unsyiah.ac.id>

next in thread | raw e-mail | index | archive | help
Folks,

hereis my topology

 ns1                ns2            host-1             host-2
  |------------------|-------------------|------------------|
167.205.153.xxx   167.205.153.xxx  10.10.11.xxx       10.10.11.xxx
10.10.11.xxx      10.10.11.xxx

As shown above, my network is made by 2 network.How do I put both of it
into one DNS ?? with my current configuration, my local IP is broadcasted
to internet. any help or pointer will be greatly appreciated.
my current config is:

--------/etc/namedb/s/db.mycollage------
$ORIGIN ac.id.
mycollage   IN	SOA ns1.mycollage.ac.id. root.ns1.mycollage.ac.id.(
				1999033034	; Serial
				3600	; Refresh
				900	; Retry
				3600000	; Expire
				3600 )	; Minimum
	IN	NS	ns1.mycollage.ac.id.
	IN 	NS	ns2.mycollage.ac.id.
	IN	MX	1000 ns1.mycollage.ac.id.

$ORIGIN mycollage.ac.id.
ns1		IN	A	167.205.153.xxx
		IN	MX	1100 ns1.mycollage.ac.id.
		IN	A	10.10.11.xxx
ns2		IN	A	167.205.153.xxx
		IN	A	10.10.11.xxx
host-1		IN	A	10.10.11.xxx
host-2		IN	A	10.10.11.xx
localhost	IN	A	127.0.0.1
----------end----------

-----/etc/namedb/named.conf------
options {
	directory "/etc/namedb";
zone "." {
	type hint;
	file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
	type master;
	file "localhost.rev";
};
zone "mycollage.ac.id" {
	type master;
	file "s/db.mycollage";
};
zone "153.205.167.IN-ADDR.ARPA" {
	type master;
	file "s/db.167.205.153";
};
zone "11.10.10.IN-ADDR.ARPA" {
	type master ;
	file "s/db.10.10.11";
};
----------

best regads,
zul






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905111204170.21917-100000>