trevoro / node-named

DNS Server in node.js
MIT License
356 stars 100 forks source link

Questions : What's append if no answer is added to query ? #37

Closed ptorrent closed 5 years ago

ptorrent commented 5 years ago

Hello !

Thanks for your job, it's works very well for me.

It's more a general question about how DNS works. What's append if no answer is added to query ?

server.send(query) ( without query.addAnswer called).

Is the query will go to other server name ?

Thansk for your support

trevoro commented 5 years ago

I suppose it'll send a null result. We could handle that as an error but it's really up to you; this is a pretty lightweight lib.