Hey all,
/etc/functions.sh creates /tmp/resolv.conf in this manner:
[ -f /etc/resolv.conf ] || {
debug "# --- creating /etc/resolv.conf ---"
for dns in $(nvram get ${2}_dns); do
echo "nameserver $dns" >> /etc/resolv.conf
done
}
There seems to be no adding of local domain name or search list for host name lookup.
They could/should also be added from nvram to resolv.conf as they are standard entries in resolv.conf
Is this allready implemented in another way that I've missed?
Otherwise nvram variable wan_domain= seems like a good candidate.
//juilt