summaryrefslogtreecommitdiffstats
path: root/recipes-core/bind/bind_virtualization.inc
blob: f942d7ad13567ebe8bc0f09a1f77090d59eaf8fa (plain)
1
2
3
4
# Tell named not to bother listening on the IP address that lxc and libvirtd handles itself.
do_install:append() {
	sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc11:4514:1919:810::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options
}