[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

network names, sortlist, & resolv.conf



I've looked around for a Linux resolver mailing list, but failing that, I thought I'd ask here.

I'm using the sortlist statement in my resolv.conf to prevent some programs from being confused by multihomed hosts.

I've also setup mnemonic names for our networks, so, for instance:

---

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface zot * 255.255.255.0 U 0 0 0 eth1 des * 255.255.255.0 U 0 0 0 eth2
...
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.179.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.103.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
...

---

I would like to use these same mnemonics in the sortlist statement: sortlist zot des ... Unfortunately this doesn't work.

Is someone able to please tell me what I'm doing wrong / whether names in resolv.conf is just silly / where I should ask / what source I should look at?

Thanks!

Jack



Reply to: