On Thu, 2003-09-25 at 07:29, Jerry Haltom wrote: > Are there plans to run "up" commands in interfaces after > dns-nameservers?
That would be desirable. It would require a change to the ifupdown package. > Also, this may seem a LITTLE bit silly, but can dns-domainnames be > provided with a name, which is then resolved into an IP and added to > resolvconf? That idea seems a bit esoteric. You could set this up manually by putting a script in /etc/network/if-up.d/ which does something like this (untested): #!/bin/sh [ "$DNS_DOMAINNAMES" ] || exit 0 X="$DNS_DOMAINNAMES" N=$(host $X | grep -v 'not found' | sed 's/.*has address //') [ "$N" ] && echo "nameserver $N" | resolvconf -a 000${IFACE}-extra The script should be named something later than 'resolvconf', for obvious reasons. Its if-down.d companion would be something like: #!/bin/sh [ "$DNS_DOMAINNAMES" ] || exit 0 resolvconf -d 000${IFACE}-extra -- Thomas Hood <[EMAIL PROTECTED]>