Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #184710
| From | Lck Ras <likcoras@riseup.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: cannot get node dns program to work externally |
| Date | 2017-08-06 04:40 +0200 |
| Message-ID | <ubjDX-4OU-3@gated-at.bofh.it> (permalink) |
| References | <ubiRA-4c2-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/06/2017 10:42 AM, Aaron Gray wrote: > Hi, > > I have a node.js based dns program on port 53 and have it working as > localhost on debian 8.5 but I cannot seem to get it to work externally > despite getting the firewall rules right having tested them with Bind9. Check if it's listening on localhost. Make sure that the server is not listening on 127.0.0.1 'ss -unl'. Otherwise, you need to do a bit of forwarding magic, but listening on the proper interface is a cleaner solution, I believe. > I have mainly been using :- > > https://github.com/tjfontaine/node-dns/blob/master/examples/forwarder.js >From what I can see from the code you linked, 127.0.0.1 is hardcoded. Make sure you change that.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cannot get node dns program to work externally Aaron Gray <aaronngray.lists@gmail.com> - 2017-08-06 03:50 +0200 Re: cannot get node dns program to work externally Lck Ras <likcoras@riseup.net> - 2017-08-06 04:40 +0200 Re: [nodejs] Re: cannot get node dns program to work externally Aaron Gray <aaronngray.lists@gmail.com> - 2017-08-20 23:40 +0200
csiph-web