From owner-freebsd-questions Sun Oct 21 7:38:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (Postfix) with ESMTP id 659D837B405 for ; Sun, 21 Oct 2001 07:38:39 -0700 (PDT) Received: from stormwall.org (h139n2fls31o846.telia.com [217.208.108.139]) by mailb.telia.com (8.11.6/8.11.6) with ESMTP id f9LEcbN26514 for ; Sun, 21 Oct 2001 16:38:37 +0200 (CEST) Message-ID: <3BD2DEB3.30F1EBC5@stormwall.org> Date: Sun, 21 Oct 2001 16:41:55 +0200 From: Tor Stormwall X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: sendmail and named! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I'm trying to make a domain called "myhome.my" in my private network using 192.168.0.x addresses. My named.conf looks like this: options { directory "/etc/namedb"; forwarders { 127.0.0.1; }; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "myhome.my" { type master; file "db.myhome.my"; }; zone "0.168.192.inddr.arpa" { ty ae; file "myhome-reverse"; }; The db.myhome.my looks like this: ; Definition of zone myhome.my myhome.my. IN SOA bossen.myhome.my. tor.bossen.myhome.my. ( 1997010902 ; Serial (date, 2 digits version of day) 86400 ; refresh (1 day) 7200 ; retry (2 hours) 8640000 ; expire (100 days) 86400 ) ; minimum (1 day) ; name servers IN NS ns IN NS ns1 ns IN A 192.168.0.5 ns1 IN A 192.168.0.6 ; MX records IN MX 50 bossen.myhome.my. IN MX 100 agent.creson.com. ; Hosts bossen IN A 192.168.0.5 storm IN A 192.168.0.6 Why doesent it work? Upon this I'm also trying to get sendmail to work. I've changed these line in my sendmail.cf: # who I masquerade ad (null for no masquerading) (se also $=M) DMmyhome.my # "Smart" relay host (maybe be null) DSbossen.myhome.my Of what I know, sendmail needs a domain to work. I'm trying to get a local domain so that sendmail can start sending mail. What is it that I'm doing wrong? Best Regards, Tor Stormwall -- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - * | M A Y T H E S O U R C E B E W I T H Y O U | | | | Tor Stormwall mailto:tor@stormwall.org | | http://www.creson.com/~tor | | | | http://www.sslug.dk http://www.stormwall.org | | http://www.FreeBSD.org http://www.muf.se | | | * - - - - - - - - - - - - - - - - - - - - - - - - - - - - * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message