[opensuse] Yast2 DNS generate reverse and use /etc/hosts as source
The YAST2 DNS tool seems to require a lot of step-and-repeat. Is ther any way yo get it to simply read the hosts file and geenrate BOT the forward and reverse files? I don't seem to be able to get it to gnerate reverse files at all. What am I missing? Or is this simply a crippled tool? -- "Necessity is the mother of invention" is a silly proverb. "Necessity is the mother of futile dodges" is much nearer the truth. -- Alfred North Whitehead -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-26 14:55, Anton Aylward wrote:
The YAST2 DNS tool seems to require a lot of step-and-repeat. Is ther any way yo get it to simply read the hosts file and geenrate BOT the forward and reverse files?
Use package dnsmasq instead of bind. It directly reads the hosts file. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 06/26/2014 09:25 AM, Carlos E. R. wrote:
Use package dnsmasq instead of bind. It directly reads the hosts file. +1
The only issue I've noticed with it is when I lose my IPv6 tunnel, dnsmasq stops working. The first two DNS servers in my resolv.conf file are via IPv6. For some reason, it won't use the 3rd server, which is via IPv4. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-26 16:06, James Knott wrote:
On 06/26/2014 09:25 AM, Carlos E. R. wrote:
Use package dnsmasq instead of bind. It directly reads the hosts file. +1
The only issue I've noticed with it is when I lose my IPv6 tunnel, dnsmasq stops working. The first two DNS servers in my resolv.conf file are via IPv6. For some reason, it won't use the 3rd server, which is via IPv4.
Try placing it on the 2nd place. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 06/26/2014 01:04 PM, Carlos E. R. wrote:
Try placing it on the 2nd place.
I thought it was supposed to work for up to 3 DNS servers. That 3rd server certainly works when I boot that firewall and it uses the IPv4 DNS to find the IP address for the other end of the tunnel. Is this a problem with dnsmasq? It doesn't seem to be an openSUSE issue. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-26 19:12, James Knott wrote:
On 06/26/2014 01:04 PM, Carlos E. R. wrote:
Try placing it on the 2nd place.
I thought it was supposed to work for up to 3 DNS servers. That 3rd server certainly works when I boot that firewall and it uses the IPv4 DNS to find the IP address for the other end of the tunnel. Is this a problem with dnsmasq? It doesn't seem to be an openSUSE issue.
I don't know. Just place it second to find out. It is a wild idea, but worth testing to find out, don't you think? :-) -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 06/26/2014 01:31 PM, Carlos E. R. wrote:
I don't know. Just place it second to find out. It is a wild idea, but worth testing to find out, don't you think? :-)
I tried an experiment. I changed a digit in the 1st DNS server address. DNS then stopped working for systems behind my firewall. So, it appears even the 2nd entry is not used. I have tried this with both resolv.conf and server= lines in dnsmasq.conf. I couldn't get the resolv-file method to work at all. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-26 19:51, James Knott wrote:
On 06/26/2014 01:31 PM, Carlos E. R. wrote:
I don't know. Just place it second to find out. It is a wild idea, but worth testing to find out, don't you think? :-)
I tried an experiment. I changed a digit in the 1st DNS server address. DNS then stopped working for systems behind my firewall. So, it appears even the 2nd entry is not used. I have tried this with both resolv.conf and server= lines in dnsmasq.conf. I couldn't get the resolv-file method to work at all.
Oh? :-? On my laptop, using dnsmasq, when network goes up, dnsmasq prints to the syslog the list of dns servers it is going to use. I have it configured to use google's, but I noticed the router address being automatically added (via dhcp, I guess), making a total of 3 entries. I'm talking from memory. Somehow dnsmasq gets info from network manager. It is one of those things I noticed for investigating on an idle moment, but so far, I haven't. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
The second dns server is only used if the first can't be reached at all. And the fail over time can be quite lengthy. So if you happened to pick an IP address for your test that was in use, it can disguise the problem even more. My second dns server is always Google 8.8.8.8 an I've never understood why anyone would use a second that is on the same subnet as the primary. On June 26, 2014 10:51:48 AM PDT, James Knott <james.knott@rogers.com> wrote:
On 06/26/2014 01:31 PM, Carlos E. R. wrote:
I don't know. Just place it second to find out. It is a wild idea, but worth testing to find out, don't you think? :-)
I tried an experiment. I changed a digit in the 1st DNS server address. DNS then stopped working for systems behind my firewall. So, it appears even the 2nd entry is not used. I have tried this with both resolv.conf and server= lines in dnsmasq.conf. I couldn't get the resolv-file method to work at all.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/27/2014 12:35 PM, John Andersen wrote:
And the fail over time can be quite lengthy How long is "lengthy"? Would it fit on the time scale illustrated here? ;-) https://en.wikipedia.org/wiki/Future_of_an_expanding_universe#Timeline (link stolen from a previous post) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Anton Aylward
-
Carlos E. R.
-
James Knott
-
John Andersen