[oe] [meta-networking][PATCH 1/2] dnsmasq: add info for port setting

jackie.huang at windriver.com jackie.huang at windriver.com
Mon Feb 27 08:09:58 UTC 2017


From: Jackie Huang <jackie.huang at windriver.com>

The info is taken from CentOS which is usefull
when bind (provides named) and dnsmasq are both
installed and one may fail to start:
| dnsmasq: failed to create listening socket for port 53: Address already in use

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf
index 34d5135..9e5ab9f 100755
--- a/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf
+++ b/meta-networking/recipes-support/dnsmasq/files/dnsmasq.conf
@@ -4,6 +4,11 @@
 # as the long options legal on the command line. See
 # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
 
+# Listen on this specific port instead of the standard DNS port
+# (53). Setting this to zero completely disables DNS function,
+# leaving only DHCP and/or TFTP.
+#port=5353
+
 # Change these lines if you want dnsmasq to serve MX records.
 # Only one of mx-host and mx-target need be set, the other defaults
 # to the name of the host  running dnsmasq.
-- 
2.8.3




More information about the Openembedded-devel mailing list