<div><br></div>Look at dnsmasqd. It's a nice local DHCP server/masq rule/caching DNS.<div><br></div><div>If all you need is the DNS redirection, you can comment out the DHCP and masq in /etc/dnsmasqd.conf (IIRC). And you set up any extra DNS entries there as well. It's way easier to deal with than traditional DNS servers and the config file has plenty of inline documentation and commented examples.</div>
<div><br clear="all">Best Regards.<br><br><br><div class="gmail_quote">On Sun, Jan 16, 2011 at 14:40, Ehud Kaldor <span dir="ltr"><<a href="mailto:ehud.kaldor@gmail.com">ehud.kaldor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">got a not-exactly-linux question, but with the expertise here, it might be worth asking:<br><br>i am setting up a local wordpress on one of my ubuntus. it is to serve externally. now, the way wordpress works is that you set the address ("www.ehud.example") and it is accessible only by that. so, if i set it to "localhost" or the internal address, it will be accessible only from the local network, and if i set it to www.ehud.example it will be accessible only from the outside, and not locally.<br>
so, the only thing i can think of is to set some local redirection internally, to redirect www.ehud.example to the local address.<br><br>i am not too familiar with how to setup DNS. tried briefly to set bind9 on the server and set it as DNS on the router, but it seems a lot of work for such a small task. the d-link dir-655 router i use does not run its own DNS, so cannot use that.<br>
<br>any other ideas? is there an external DNS service (like opendns) that allow you to set local redirections as well?<br><br>thanks,<br>Ehud<br><br></div>
<br>_______________________________________________<br>
conspire mailing list<br>
<a href="mailto:conspire@linuxmafia.com">conspire@linuxmafia.com</a><br>
<a href="http://linuxmafia.com/mailman/listinfo/conspire" target="_blank">http://linuxmafia.com/mailman/listinfo/conspire</a><br>
<br></blockquote></div><br></div>