<p dir="ltr">I am not sure about the part where you talk about different networks' DNS settings.</p>
<p dir="ltr">I mean, as long as the first-listed server responds – and localhost always responds – then the fallback servers won't be used at all.</p>
<p dir="ltr">So what's the point of having both 127.0.0.1 and external servers listed (whether static or not)? Having them static won't make any difference.</p>
<p dir="ltr">-- <br>
Mantas Mikulėnas <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>><br>
// sent from phone</p>
<div class="gmail_quote">On Jun 17, 2014 2:14 PM, "Runiq" <<a href="mailto:runiq@archlinux.us">runiq@archlinux.us</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I'm using systemd 213 on Arch Linux, and systemd-networkd/resolved with DHCP to connect to the internet. I'm also running a caching DNS server on 127.0.0.1.<br>
<br>
I'd like to make this caching server the first DNS server in the list, but I'd also like to use the nameservers discovered by systemd-resolved. Using a static resolv.conf isn't really possible, because I connect to networks with different DNS settings.<br>
<br>
I know I can set *fallback* DNS servers in /etc/systemd/resolved.conf, but is there a way with systemd-networkd to prepend my local DNS server to those discovered by DHCP?<br>
<br>
I've asked this question on <a href="http://superuser.com" target="_blank">superuser.com</a> [1] but didn't get a satisfactory reply.<br>
<br>
Thanks,<br>
Patrice<br>
<br>
[1] <a href="http://superuser.com/q/767827/260249" target="_blank">http://superuser.com/q/767827/<u></u>260249</a><br>
<br>_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div>