Disable ipv6

Discussion in 'General' started by Hans-Linux, Jan 4, 2023.

Tags:
  1. Hans-Linux

    Hans-Linux New Member HowtoForge Supporter

    Log pollution with ipv6 requests.
    My /varlog/syslog gets filled with 1000's of entries like these:

    .......
    Jan 4 14:14:55 server-1 named[571]: address not available resolving '_.google.com.au/A/IN': 2a01:8840:be::1#53
    Jan 4 14:14:56 server-1 named[571]: address not available resolving 'google.com.au/DS/IN': 2a01:8840:c0::1#53
    Jan 4 14:14:58 server-1 named[571]: address not available resolving 'ns-167.awsdns-20.com/A/IN': 2600:9000:5306:d400::1#53
    Jan 4 14:14:58 server-1 named[571]: address not available resolving 'ns-167.awsdns-20.com/AAAA/IN': 2600:9000:5306:d400::1#53
    .....
    My ISP, Router and LAN do not use IPv6. Is there any way to completely disable IPv6 queries?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Google "named disable ipv6" gives you plenty of results. Just add the Linux distribution name of the distribution you use to the query to get even more accurate search results.
     
  3. Hans-Linux

    Hans-Linux New Member HowtoForge Supporter

    Thanks Till:
    [SOLVED]
    FIX:
    Change /etc/default/named:
    Line 6: OPTIONS="-u bind" to OPTIONS="-4 -u bind"
     

Share This Page