Skip to content

Commit 916d16c

Browse files
aditijannuaditijannu
andauthored
Add dnsmasq settings file to parent base docker build directory (#8)
Co-authored-by: aditijannu <[email protected]>
1 parent 899edfa commit 916d16c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docker/parent-base/dnsmasq.d

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# If you want dnsmasq to listen for DHCP and DNS requests only on
2+
# specified interfaces (and the loopback) give the name of the
3+
# interface (eg eth0) here.
4+
# Repeat the line for more than one interface.
5+
interface=fortanix-tap0
6+
# Or you can specify which interface _not_ to listen on
7+
#except-interface=
8+
# Or which to listen on by address (remember to include 127.0.0.1 if
9+
# you use this.)
10+
#listen-address=
11+
# If you want dnsmasq to provide only DNS service on an interface,
12+
# configure it as shown above, and then use the following line to
13+
# disable DHCP and TFTP on it.
14+
no-dhcp-interface=fortanix-tap0
15+
16+
# On systems which support it, dnsmasq binds the wildcard address,
17+
# even when it is listening on only some interfaces. It then discards
18+
# requests that it shouldn't reply to. This has the advantage of
19+
# working even when interfaces come and go and change address. If you
20+
# want dnsmasq to really bind only the interfaces it is listening on,
21+
# uncomment this option. About the only time you may need this is when
22+
# running another nameserver on the same machine.
23+
bind-interfaces

0 commit comments

Comments
 (0)