From owner-freebsd-questions Tue May 11 0:26:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pinto.unsyiah.ac.id (pinto.unsyiah.ac.id [167.205.153.82]) by hub.freebsd.org (Postfix) with ESMTP id 9E65F15A27 for ; Tue, 11 May 1999 00:25:03 -0700 (PDT) (envelope-from zul@pinto.unsyiah.ac.id) Received: from localhost (zul@localhost) by pinto.unsyiah.ac.id with ESMTP id MAA22838 for ; Tue, 11 May 1999 12:39:56 GMT (envelope-from zul@pinto.unsyiah.ac.id) Date: Tue, 11 May 1999 12:39:56 +0000 (GMT) From: zulkarnain To: freebsd-questions@freebsd.org Subject: 2 networks, 1 DNS Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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