dnsmasq not starting from NetworkManager with SELinux enabled.

2013-03-16 1 min read Fedora Learning Linux
OpenWrt - Dnsmasq
OpenWrt – Dnsmasq (Photo credit: magicfab)

 

Some time back I posted on dnsmasq starting from Network Manager and how to setup dnsmasq.

 

Now, couple of days back , I setup dnsmasq in NetworkManager but was astonished to see that there was no dnsmasq running. I checked with dig and saw that there was no response from localhost for dns queries. Checked “ps -eaf|grep dns” and found that there was no dnsmasq running. I knew that once you mention “dns=dnsmasq” in the NetworkManager then it should start up but that was not happening. And then I checked audit log, found that some permissions were denied by SELinux.

Continue reading

dnsmasq – use with Network Manager.

2013-01-28 2 min read Fedora Learning Linux
Niles Machine Company
Niles Machine Company (Photo credits: roadtrafficsigns.com)

 

Well if you have not heard about dnsmasq:

 

Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
It is designed to provide DNS and, optionally, DHCP, to a small network.
It can serve the names of local machines which are not in the global
DNS. The DHCP server integrates with the DNS server and allows machines
with DHCP-allocated addresses to appear in the DNS with names configured
either in each host or in a central configuration file. Dnsmasq supports
static and dynamic DHCP leases and BOOTP for network booting of diskless
machines.

Continue reading

\[Solution\] Solaris issue with wget not resolving Domain name (DNS name lookup failure)

2010-08-09 2 min read Solaris

Today I was working with <a class="zem_slink" title="Solaris (operating system)" rel="homepage" href="http://oracle.com/solaris">Solaris and after I had set up the <a class="zem_slink" title="NIS+" rel="wikipedia" href="http://en.wikipedia.org/wiki/NIS%2B">NIS+, <a class="zem_slink" title="Name server" rel="wikipedia" href="http://en.wikipedia.org/wiki/Name_server">DNS server, IP Address and completing the basic setting. I was using the pkg-get util from the freesunware.com

The utility was using wget and it was failing constantly. From the looks of it, it was very clear that the wget utility was unable to find the <a class="zem_slink" title="IP address" rel="wikipedia" href="http://en.wikipedia.org/wiki/IP_address">IP address from the name. <a class="zem_slink" title="Name resolution" rel="wikipedia" href="http://en.wikipedia.org/wiki/Name_resolution">Name resolution was not happening, while dig and <a class="zem_slink" title="Nslookup" rel="wikipedia" href="http://en.wikipedia.org/wiki/Nslookup">nslookup was able to do the DNS lookup.

Continue reading

Solved -- Errors with afraid-dyndns in Goddard (Fedora 13)

2010-05-06 2 min read Fedora Learning Linux

Since I updated to the <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 13, I was getting error from the <a class="zem_slink freebase/en/dynamic_dns" title="Dynamic DNS" rel="wikipedia" href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself 🙂

Problem:
On running

afraid-dyndns

I was getting the error:

Entity: line 100: <a class="zem_slink freebase/en/parsing" title="Parsing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Parsing">parser error : Opening and ending tag mismatch: br line 99 and div

Continue reading

Local DNS Server for faster DNS response time

2010-04-30 1 min read Fedora Linux

Here&#8217;s a quick tip for faster DNS response time. I installed a local DNS server which can contact the remote DNS server and enabled caching for the local DNS server. This ensures that the response time for the DNS queries is much faster.

I am on Fedora 10, so here&#8217;s what I was required to do:

yum install dnsmasq

After this I created a file called /etc/resolve.dns with the nameserver address&#8217;s and heres what it looks like:

Continue reading
Older posts