Disabilitare IPV6 per Bind: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 23: | Line 23: | ||
bind 15281 2.8 3.4 587436 71620 ? Ssl 10:38 0:04 /usr/sbin/named -f -u bind -4 | bind 15281 2.8 3.4 587436 71620 ? Ssl 10:38 0:04 /usr/sbin/named -f -u bind -4 | ||
==Riferimenti== | |||
*[https://jonkristian.no/disable-ipv6-bind-debian/ How to Disable ipv6 for Bind on Debian – Jon Kristian] | |||
=Debian Lenny= | =Debian Lenny= | ||
Revision as of 09:43, 16 March 2021
Debian Jessie
- C'È UN BUG, BISOGNA MODIFICARE LA UNIT SYSTEMD
vi /lib/systemd/system/bind9.service
- Aggiungere
EnvironmentFile=-/etc/default/bind9
- Modificare
ExecStart=/usr/sbin/named -f $OPTIONS
- Modificare le opzioni:
vi /etc/default/bind9
OPTIONS="-u bind -4"
- Riavviare e controllare:
systemctl daemon-reload systemctl restart bind9.service
ps auxw | grep bind
bind 15281 2.8 3.4 587436 71620 ? Ssl 10:38 0:04 /usr/sbin/named -f -u bind -4
Riferimenti
Debian Lenny
sudoedit /etc/default/bind9
OPTIONS="-4 -u bind" //-4 = to use ipv4 only.
sudo invoke-rc.d bind9 restart