11-30-2004 07:02 PM - edited 03-02-2019 08:18 PM
Hi,
I have VLAN1 (192.168.99.0/24) access DNS in VLAN2 (192.168.11.0/24). If a host in DNS is multihomed (e.g., 192.168.11.21, 192.168.22.21), VLAN1 does not know how to sort it. I can restrict the sorting in BIND using sortlist, but this has effect on 192.168.99.0/24. May I ask is there a IOS command that allows me to sort DNS lookup? I would like to receive 192.168.11.21 first.
Regards,
Norman Zhang
Solved! Go to Solution.
12-01-2004 12:10 PM
Add a route for 192.168.99.0 network in your DNS server.
12-01-2004 11:36 AM
I think I found the problem. VLAN1 (192.168.99.0/24) is connected to VLAN2 (192.168.11.0/24). Hosts from VLAN1 is trying acccess 192.168.11.21 (multihomed mail server with default-gw = 192.168.22.21). Thus connection to 192.168.11.21 from VLAN1 fails then it fall-back to 192.168.22.21 which is in a different subnet.
What puzzles me, is that it worked for another multihomed host 192.168.11.2, 192.168.22.2. I had ip helper-address for 192.168.11.2 under VLAN1. Could someone please give me some pointers?
interface Vlan1
ip address 192.168.99.1 255.255.255.0
ip helper-address 192.168.11.2
ip helper-address 192.168.11.21
no ip mroute-cache
!
interface Vlan2
ip address 192.168.11.4 255.255.255.0
no ip mroute-cache
192.168.11.4 is the IP for my current switch.
12-01-2004 12:10 PM
Add a route for 192.168.99.0 network in your DNS server.
12-01-2004 12:34 PM
Thanks. You are absolutely correct. I just recall that I added static route to the other multihomed server, and that's why it worked them.
What's the best way of adding static route to those multihomed servers?
12-02-2004 02:20 PM
If it is Windows machine use
route -p add
If it is Unix define it /etc/rc2.d/S69inet file
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide