use 127.0.0.1 as dns server and point dnsmasq to /tmp/resolv.conf

SVN-Revision: 4282
lede-17.01
Felix Fietkau 2006-07-25 18:12:30 +00:00
parent 3df71b4f5e
commit 44be142cb2
3 changed files with 3 additions and 1 deletions

View File

@ -153,7 +153,6 @@ define Package/base-files$(TARGET)/install
mkdir -p $(1)/usr/bin
mkdir -p $(1)/sys
mkdir -p $(1)/www
ln -sf /tmp/resolv.conf $(1)/etc/resolv.conf
ln -sf /proc/mounts $(1)/etc/mtab
rm -f $(1)/var
ln -sf /tmp $(1)/var

View File

@ -0,0 +1,2 @@
nameserver 127.0.0.1
search lan

View File

@ -8,6 +8,7 @@ localise-queries
local=/lan/
domain=lan
expand-hosts
resolv-file=/tmp/resolv.conf
@ifdef dhcp_enable
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@