Multihome DNS configuration

Kevin Darcy kcd at daimlerchrysler.com
Wed Aug 2 21:36:10 UTC 2000


Wang Wei Hua wrote:

> Hi all,
>
> I have a problem needed your help. We have a a DNS server which has two
> interfaces, one is linked to internal LAN, another is linked to Internet, so
> the DNS has a domain name with two IP addresses(internal & Internet), and I
> have another LAN1 that is linked to LAN through a router via a leased line,
> I want to configure the DNS when users in external segment access the DNS
> server will get internet IP address . Is there a way to configure it?
> i.e.
>    tulip        A    203.126.196.2      #Internet IP address
>                   A    168.9.4.5               #internal IP address
>
> The users in LAN1 are in 10.33.0.0 network the LAN is in 168.9.0.0 network
> the twe LANs are linked by routers.
> 203.126.196/24 is the external segment that links to Internet.
>
> In the named.conf, use sortlist as follows,
>
> options {
> // other options ...
>           sortlist { { 10.33/16; 168.9/16; }; };
> };
>
> When a user in LAN1(10.33.0.0) access tulip, he will get 168.9.4.5, but for
> Internet user who should get IP address 203.126.196.2, but in fact, they
> will be cycling to get 203.126.196.2 & 168.9.4.5, I don't want them to
> getinternal IP address (168.9.4.5) for Internet users,  how can I do that?

So, let me get this straight, you want:1) Internet users to get 203.126.196.2
*only*
2) 168.9.x.x users to get the 168.9.4.5address *only*
3) 10.x.x.x users to get the 168.9.4.5 address *only*

Right?

You need a split DNS for this. The Internet-facing DNS will only have the
203.126.196.2 address. The internal DNS will only have the 168.9.4.5 address,
and will serve clients on both the 168.9.x.x and 10.x.x.x networks.


- Kevin





More information about the bind-users mailing list