trevoro / node-named

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

How to save DNS records? #22

Closed NetOpWibby closed 6 years ago

NetOpWibby commented 7 years ago

I know this isn't an issue with the project itself and I'll close it asap but I was wondering how I might go about saving the DNS records I set.

It is important to remember that these DNS records are not permanently added to the server. They only exist for the length of the particular request. After that, they are destroyed. This means you have to create your own lookup mechanism.

I don't understand what the last part means because I thought DNS lookups were just that — looking up the DNS for a domain. I don't see how that would save DNS changes.

NetOpWibby commented 7 years ago

Sidenote, as I'm updating this project for ES6 I am noticing a good amount of issues ranging from inconsistent coding styles, repeated required variables, non-declared variables, and so on. I read the conversation in #5 and well, the amount of changes I'm making (whitespace minimization included) is too much for a PR so I'm gonna fork this over to my GitLab server.