On 2013-08-31 21:59, James Knott wrote:
Carlos E. R. wrote:
dnsmasq will do just fine.. it is used with routers that have waaaay
less RAM (64 MB or so) Mmm.
+++·········· Lightweight, Easy-to-Configure DNS Forwarder and DHCP Server ··········++-
It is a forwarder, not enough. It would have to accept a local definition for names. Ie, act as a real but small DNS.
I use dnsmasq here and it works fine for both IPv4 & IPv6 addresses. You just have to add local hosts into the /etc/hosts file and then restart dnsmasq. If you're using IPv6 and IPv4, you'll want to have the IPv6 address listed first.
Interestingly, it was already installed.
You mean this thing reads the hosts file and that's it?
Wow, it works...
AmonLanc:~ # host telcontar
telcontar.valinor has address 192.168.1.14
Host telcontar.valinor not found: 5(REFUSED)
Host telcontar.valinor not found: 5(REFUSED)
AmonLanc:~ #
huh?
AmonLanc:~ # host -v telcontar
Trying "telcontar.valinor"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26366
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;telcontar.valinor. IN A
;; ANSWER SECTION:
telcontar.valinor. 0 IN A 192.168.1.14
Received 51 bytes from 192.168.1.15#53 in 1 ms
Trying "telcontar.valinor"
Host telcontar.valinor not found: 5(REFUSED)
Received 35 bytes from 192.168.1.15#53 in 0 ms
Trying "telcontar.valinor"
Host telcontar.valinor not found: 5(REFUSED)
Received 35 bytes from 192.168.1.15#53 in 0 ms
AmonLanc:~ #
Ah, port 53 is not open on that machine. Not important. Ok, lets try
email... interesting failure:
2013-08-31T22:37:10.248374+02:00 AmonLanc postfix/smtp[23220]:
06E38486E0: to=