|
Tutorials
Set up external DNS on the FWTK machine.
Set up DNS on an internal server.
All machines should point to the internal DNS server for host name resolution,
including the Firewall.
This should get give you the basic concept of split DNS. There are many references on the net for DNS configuration, a good place to start is at the BIND home page: http://www.isc.org/bind.html - Bill Earle <Bill.Earle@Dynabrade.COM>
The INTERNAL DNS (the one only our internal users can see) is set up as the primary DNS for our network. It includes info for all machines behind the firewall. All internal machines point to it for ALL queries. It forwards all queries it can't handle to the only other server it knows about, the EXTERNAL DNS running on the firewall. >From the named.boot file of our INTERNAL DNS:
The named.cache file of our INTERNAL DNS: ;
The EXTERNAL DNS (the one the Internet sees) is the primary DNS as far as InterNIC is concerned. This server should have a cache file to leads to the root level servers. Note: This server only contains info I want the world to know about. e.g. MX records and the addr of our external web and FTP servers. - Paul Beltrani <beltrani@portal.oic.htdc.org>
For running split DNS: External sites see the external MX and send to smap on the bastion. With the bastion's resolver pointing to an internal DNS, sendmail uses that first then gets forwarded to the bastion's named. Thus: External mail inbound gets accepted by smap according to the external MX records. Sendmail then uses the internal MX records to deliver the mail. Too easy. Outbound mail gets accepted by smap on the bastion. Sendmail looks in the internal DNS and gets no answer (directly) and the DNS query is forwarded to the bastion's DNS which returns the correct external A/MX record for mail delivery. Works like a charm. If you don't want to use split DNS, you'll need a .cf to force local mail to the internal mailhost. You could do this a number of ways 1) use LOCAL_NET_CONFIG and specify rules to deliver to a specific host. Something like the following should suffice: LOCAL_NET_CONFIG
The first line accepts mail for any machine in the domain and delivers to that machine. The second delivers mail adressed to the domain and sends it to the mailhost. Of course you could do the same in the first case - instead of sending to the host send to the mailhost and let it decide how to deliver. 2) use the "mailertable" feature. We use this on an internal machine which is doing a similar job to the bastion. FEATURE(mailertable, hash /etc/mail/mailertable) The "mailertable" is just a list of domains and delivery rules. eg my.domain smtp:mailhost.internal.my.domain
These rules accept ALL mail for either the domain or any host/subdomain and use the "smtp" mailer to send to the internal mailhost. Of course you need to build "makemap" so you can create the hash table. Colin Campbell <sgcccdc@citec.qld.gov.au>
I was able to get it working using this set of features in the .mc file: FEATURE(nouucp)dnl
The inportant ones were the MASQUERADE_AS and the noncanonify. Also, make sure that the Cw has all of the possible hostnames in it That might get you going without DNS. Eric Geyer <ericg@firesign.com>
A patch file is the 'diff' output between two files: in this case, probably two C source code files or support files. The 'patch' program does, essentially, a reverse 'diff'. You must start with the SAME source file as the older one that the person who made the patch started with. You will end up with the SAME new source file that the person ended up with. EXAMPLE:
I fix mine. I make a 'diff' file and send it to John: $ diff -u list.c
list.c.new > list.patch
John gets the file, and saves it by the same
name [stripping
$ cd src
John and I now have the same version of list.c. NOTES:
Joseph S. D. Yao <jsdy@cospo.osis.gov>
|