Skip to content

Commit

Permalink
Add dnsmasq settings file to parent base docker build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
aditijannu committed Mar 20, 2024
1 parent 899edfa commit af6de54
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docker/parent-base/dnsmasq.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=fortanix-tap0
# Or you can specify which interface _not_ to listen on
#except-interface=
# Or which to listen on by address (remember to include 127.0.0.1 if
# you use this.)
#listen-address=
# If you want dnsmasq to provide only DNS service on an interface,
# configure it as shown above, and then use the following line to
# disable DHCP and TFTP on it.
no-dhcp-interface=fortanix-tap0

# On systems which support it, dnsmasq binds the wildcard address,
# even when it is listening on only some interfaces. It then discards
# requests that it shouldn't reply to. This has the advantage of
# working even when interfaces come and go and change address. If you
# want dnsmasq to really bind only the interfaces it is listening on,
# uncomment this option. About the only time you may need this is when
# running another nameserver on the same machine.
bind-interfaces

0 comments on commit af6de54

Please sign in to comment.