Bind , disable IPV6 and log files

opensuse12.2. use only IPV4.
In the /etc/named.conf add line:


	listen-on-v6 {"none";};

and allow loging to the /var/log/messsages

after restart named use nslookup for check.
UKR.NET: Все новости Украины, последние новости дня в Украине и Мире ( A-Records ) was resolved OK.

But in the /var/log/messages i see this errors:


Jan 23 10:34:55 antivirusproxy named[31514]: client 172.17.32.22#34726 (www.ukr.net): query: www.ukr.net IN A + (192.168.252.18)
Jan 23 10:34:55 antivirusproxy named[31514]: error (network unreachable) resolving 'ns.ukr.net.ua/A/IN': 2001:dc3::35#53
Jan 23 10:34:55 antivirusproxy named[31514]: error (network unreachable) resolving 'ns.ukr.net.ua/AAAA/IN': 2001:dc3::35#53
Jan 23 10:34:55 antivirusproxy named[31514]: error (network unreachable) resolving 'ns.ukr.net.ua/A/IN': 2001:500:2f::f#53
Jan 23 10:34:55 antivirusproxy named[31514]: error (network unreachable) resolving 'ns.ukr.net.ua/AAAA/IN': 2001:500:2f::f#53
Jan 23 10:34:55 antivirusproxy named[31514]: error (network unreachable) resolving 'ns.ukr.net.ua/A/IN': 2001:500:2e::1#5

How TOTAL disable use IPV6 for BIND ?

Serg

in the


/etc/sysconfig/named

modify lines: NAMED_ARGS.

Ath this time:


NAMED_ARGS=" -4"

And All OK