From fd7889cf6f9551d8f5ce25c7f74546562f7447dd Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Sat, 9 Jan 2010 21:03:48 +0000
Subject: [PATCH] dnsmasq: add local domain as search directive to
 /tmp/resolv.conf

SVN-Revision: 19086
---
 package/dnsmasq/files/dnsmasq.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/dnsmasq/files/dnsmasq.init b/package/dnsmasq/files/dnsmasq.init
index 37b8eb8669..70488a569f 100644
--- a/package/dnsmasq/files/dnsmasq.init
+++ b/package/dnsmasq/files/dnsmasq.init
@@ -315,6 +315,7 @@ start() {
 		for DNS_SERVER in $DNS_SERVERS ; do
 			echo "nameserver $DNS_SERVER" >> /tmp/resolv.conf
 		done
+		echo "search $DOMAIN" >> /tmp/resolv.conf
 	}
 }
 
-- 
GitLab