You are not logged in.
Pages: 1
Topic closed
I have been looking for a way to handle this under Linux, using Mac OSX's resolver system makes this easy. What my goal is I want to run a lightweight dns server on my local machine that takes all requests to a specific TLD, say requests to example.dev, back to 127.0.0.1. Under OSX all I needed to do is create a like under /etc/resolver with the TLD to redirect as the file name that looks like this:
$ cat /etc/resolver/dev
nameserver 127.0.0.1
port 5300
The name server I'm running is listening on port 5300, how would I implement something like this under Archlinux? If it matters the dns server I am using is this one https://github.com/robbiev/devdns
Offline
On linux, there is no resolver file hierarchy. You'll have to use a nameserver that handles all queries, e.g.
dnsmasq or https://aur.archlinux.org/packages/wildcard_dns_proxy/
Last edited by progandy (2014-11-06 04:24:49)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
On linux, there is no resolver file hierarchy. You'll have to use a nameserver that handles all queries, e.g.
dnsmasq or https://aur.archlinux.org/packages/wildcard_dns_proxy/
404. Seems like the package is gone, can't find it on search.
Offline
Because the thread is > 6 years old?
Don't necrobump, use dnsmasq.
Offline
Closing this old thread, feel free to open a new one if you have specific question of how to do this now.
Offline
Pages: 1
Topic closed