Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!quanta.com!rsww From: rsww@quanta.com (Ross S. W. Walker) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: DNS problems with 2 class C's on 1 T1 Date: 10 Nov 1995 08:33:54 GMT Organization: Quanta Communications, Inc. Lines: 60 Distribution: world Message-ID: <47v2pi$nvd@tempis.quanta.com> References: <47e7c7$puk@news.cerf.net> NNTP-Posting-Host: quanta.quanta.com X-Newsreader: TIN [version 1.2 PL2] Elya Kurktchi (elya@nic.cerf.net) wrote: : I'm having DNS and routing problems here. Can somebody post a reply : or email me with what would be a proper solution to this problem: : We have 1 T1 line going to a.com. It is a WinNT machine with a frame : relay card and an ethernet card. The ethernet card goes to a 10 port : HUB. The NT does routing and is a gateway. There is no physical router : (like cisco). This domain is called a.com. My machine is a freebsd : unix machine called b.com with it's own class C ip address. How can : I setup my freebsd machine (and NT machine if applicable) to handle 2 : class C's on 1 T1 line? : THanks. : Elya. I use 3 class C's under one logical domain. In the DNS there has to be a RARPA for each class C (RARPA - reverse name server ip -> name). This is independant of the domain name configuration and each must also be registered with the internic. Once you have this done use the BSD box as the DNS since NT doesn't really handle this stuff too well (or not at all out-of-the-box). The RARPA files look like this: rarpa for 192.42.172 1 PTR host1.a.com. 2 PTR host2.a.com. rarpa for 192.42.173 1 PTR host3.a.com. 2 PTR host4.a.com. dns for a.com host1 IN A 192.42.172.1 host2 IN A 192.42.172.2 host3 IN A 192.42.173.1 host4 IN A 192.42.173.2 This is a very simplistic example, but after looking at the man pages a bit and maybe a quick look at a DNS book you'll get the idea. It's not that hard and once the DNS files are set up there is little modification except to add a few things or take a few things out needed, remember to change your version # in your SOA records if you have secondary DNS servers, but you'll find that out too :-) Cheers, Ross Walker -- ------------------------------------------------------------------------------ | /\/ | Ross S. W. Walker (rsww@quanta.com) | \/\ | | | |\ | finger rsww@quanta.com for PGP key _____________________________ | |___|/ | | Quanta Communications, Inc. ------------------------------------------------------------------------------