TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21021] dns mx question
You could try setting up your machine to be a slave for the zone. It
would still carry authorative information so it wouldn't have to do a
lookup every time...you'd just have to do a lookup when Bind wanted to
update the zone from the primary.
zone "hearing.org" {
type slave;
file "sec/hearing.org";
masters {
primary.dns.server
};
};
Adam Maloney
Systems Administrator
Sihope Communications
On Wed, 6 Sep 2000, Ben Luey wrote:
> We have a registered domain that we use for e-mail. I want e-mail send
> from the intranet to go to the server and be processed without triggering
> our internet link (dial on demand), but don't want to be a master dns for
> the domain name since the web site and stuff has a real internet addresses
> and is contorled by other people. I just want to have hearingsociety.org
> have a local MX record and all other dns requests handled by the
> forwarders.
>
> I currently have in my domain.hosts:
>
> @ IN SOA hearing.org. server.hearing.org. (
> 1997080600 ; serial number
> 10800 ; refresh rate (3 hours)
> 1800 ; retry (30 minutes)
> 1209600 ; expire (2 weeks)
> 604800 ) ; minium (1 week)
> MX 5 server.hearing.org.
> NS server.hearing.org.
> # NS hearing.org.
> hearingsociety.org. MX 3 server.hearing.org.
> server A 192.168.1.1
> finance A 192.168.1.211
>
> giving hearingsociety.org a MX record; however, since in /etc/named.conf,
> domain.hosts is only in the zone for hearing.org
>
> zone "hearing.org" {
> type master;
> file "domain.hosts";
> };
>
> This works, but when our internet access stopped, local mail would not get
> delivered I think because the dns lookup somehow needed outside access to
> resolve the MX on hearingsociety.org -- when I shut down named and added a
> line to the /etc/hosts it fixed the problem, but that messes up website
> dns lookups.
>
> Any ideas?
>
> Thanks,
>
> Ben
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>