Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 16:41:55 +0200
From:      Tor Stormwall <tor@stormwall.org>
To:        freebsd-questions@freebsd.org
Subject:   sendmail and named!
Message-ID:  <3BD2DEB3.30F1EBC5@stormwall.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BD2DEB3.30F1EBC5>