dnsmasqのfilterwin2kオプションはSOAやSRVレコードが引けなくなる

dnsmasqはOpenWrtやDD-WRTのようなディストリビューションで採用されているDNS Proxy + DHCPDで、バージョン2.12以前はfilterwin2kをデフォルトとしていたのでSOASRVのようなレコードは完全に無視されていた。
特にSRVレコードが引けないのは重要な問題で、XMPP(Jabber)とかSIPのようなVoIPアプリケーション、Kerberos等で利用されているので、なぜかこれらが動作しないという結果を招く。

  • f, --filterwin2k

Later versions of windows make periodic DNS requests which don't get sensible answers from the public DNS and can cause problems by triggering dial-on-demand links. This flag turns on an option to filter such requests. The requests blocked are for records of types SOA and SRV, and type ANY where the requested name has underscores, to catch LDAP requests.