override one hostname

Chris Buxton cbuxton at menandmice.com
Thu Feb 28 15:12:17 UTC 2008


Create a zone named "mail.example.org". You can then put whatever  
address you want into it. The zone might be as simple as:

@  soa  ns hostmaster.toltech.nl. 2008022800 8h 15m 2w 1h
    ns   ns
    a    192.168.0.1
ns a    192.168.0.2

The address of "ns.mail.example.org" is the address of your resolving  
(caching) name server. The address above that is the internal address  
of your mail server.

BTW: This does in fact constitute split DNS. It's just very selective.

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at menandmice.com
www.menandmice.com

Men & Mice
We bring control and flexibility to network management

This e-mail and its attachments may contain confidential and  
privileged information only intended for the person or entity to which  
it is addressed. If the reader of this message is not the intended  
recipient, you are hereby notified that any retention, dissemination,  
distribution or copy of this e-mail is strictly prohibited. If you  
have received this e-mail in error, please notify us immediately by  
reply e-mail and immediately delete this message and all its attachment.



On Feb 28, 2008, at 4:22 AM, Krzysztof Chojnowski wrote:

> Hello,
>
> we encountered problem with NAT as described in:
> http://www.openbsd.org/faq/pf/rdr.html#reflect . In short: there is a
> LAN and a firewall that is forwarding external connections to machines
> inside our LAN. We have some services (eg. SMTP) that should be
> accessible the same way (using the same hostname - mail.example.org)
> from inside and outside our LAN. Our firewall fails to redirect  
> packets
> from LAN that are addressed to its external IP.
> We can't use "split" functionality  as name server for example.org is
> located outside and BIND running in our LAN is used only for cache and
> local queries.
> My idea was to somehow override just the "mail.example.org" hostname  
> on
> our internal BIND. All other queries for example.org should be  
> forwarded
> to corresponding NS.
> Is it possible with BIND? How can we do this? Thanks in advance for  
> any
> help.
>
> greetings
> Notch
>
>



More information about the bind-users mailing list