bind on standalone pc

Jens SHVQCHUKSNNP at spammotel.com
Fri Apr 26 18:39:44 UTC 2002


Matthew Thompson <matthew.thompson at lrfairplay.com> wrote:

> > I have a standalone PC with internet dial-up.
> > I'd like to use bind 8.2.4 for
> > a) caching
> > b) aliasing
> > c) resolving of non-ICANN names
> >  
> > b) means that I want to resolve "smtp" depending on the provider I 
> > use. For example if I use provider1, "smtp" should be resolved to 
> > smtpx.provider1.com.
> 
> I don't see how bind is going to know which provider you're connected to -
> unless your dialup scripts are going to re-write the zone file for your
> internal zone which may cause serial number problems.

If I'm connected to provider1, a nslookup for smtp searches for 
smtp.provider1.com, whereas in a connection to provider2 smtp is 
resolved as smtp.provider2.com. For BIND, I have to configure CNAME 
entries from smtp.provider*.com to the real name.
 
> If you're running bind would it not be easier to set up a copy of senmail or
> other MTA as well to handle outgoing mail?

I think sendmail is the bigger crap :-)
   
> To get it to give the right address for your ISP you will need scripting
> which re-writes this zone and increments the serial number before getting
> bind to refresh it's data.

My dialin-script could call "ndc reload".
 
> > And the non-ICANN servers are in a "."-zone of type hint?
> 
> You'll have to drop the standard hint file and use another which provides
> root servers which know what your extra roots are. Ask your provider of
> non-standard domains what you should do here as there are more than one.

Wouldn't it be better to define them as forwarders?

Thanks,
Jens Schlatter



More information about the bind-users mailing list