yswery / PHP-DNS-SERVER

An Authoritative DNS Server written purely in PHP
MIT License
286 stars 72 forks source link

Any plan to support EDNS? #52

Open linkec opened 6 years ago

linkec commented 6 years ago

Any plan to support EDNS?

nkakouros commented 5 years ago

This currently "breaks" queries with dig. The server outputs:

error: Record type "OPT" is not a supported type.

and dig timeouts after 3 tries. nslookup on the other hand works ok.

samuelwilliams commented 5 years ago

DIG populates the additionals with OPT types, which is why the server is erroring out - OPT type is only tested in the question part of the message.

samuelwilliams commented 5 years ago

e2bae6d674cb84fd4fbafc6e72c4dc0a85fc7149 Server will now ignore records that are of an unknown type, so there is no longer any need to add +noedns to dig queries.