bind on standalone pc

Matthew Thompson matthew.thompson at lrfairplay.com
Fri Apr 26 15:13:39 UTC 2002



> 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 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?
  
> And with c) I want to resolv names like www.bbc.news, i.e. I define 
> some extrax (root-)servers.
>  
> Any ideas how the principal configuration should look?
> To make the smtp-alias, do I create a master zone? A master zone for 
> all internet?

If you want it to change according to where you are dialled up and to be a
simple alias, e.g. "smtp" you will need to define a zone, .aliases perhaps,
and set this up in the domain name search order of the machine.

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.

You will also have to find a way of getting the resolver in your machine's
TCP stack to loose it's cache on a regular basis.

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

Seriously it's far easier to rely on your ISPs domain servers or use a set
of specific servers that cope with the non-standard domains and use a local
MTA.

M at t :o)


---------------------------------------------------------------------------- 

The information contained in this email and any files attached to it are 
strictly confidential, may be legally privileged and are intended solely for 
the addressee.  If you are not the named addressee, you may not use, copy or 
disclose this information to any other person or take any action in reliance 
of this transmission. If you have received this message in error, please 
notify the sender or postmaster at lrfairplay.com immediately and delete the 
message from your system. 
 
Although this message has been subjected to virus checks utilising software 
developed by Sophos, Baltimore and Network Associates, no guarantee is given 
that it is totally virus free. 
 
http://www.lrfairplay.com/      postmaster at lrfairplay.com 
---------------------------------------------------------------------------- 



More information about the bind-users mailing list