Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 13:30:24 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Tor Stormwall <tor@stormwall.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail and named!
Message-ID:  <20011021132533.X73298-100000@shumai.marcuscom.com>
In-Reply-To: <3BD2DEB3.30F1EBC5@stormwall.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 21 Oct 2001, Tor Stormwall wrote:

> 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.

First of all, this doesn't look right.  I assume you you want these MX
records to be for myhome.my, but it looks like they're for ns1.myhome.my.



>
> ; 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:

What errors are you getting?  Once you've verified DNS is working, create
a /etc/mail/local-host-names like:

myhome.my
bossen.myhome.my

And that will solve, "Mail loops back ..." errors.

Joe

>
> # 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
>
>


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?20011021132533.X73298-100000>