<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dns on Amit Agarwal Linux Blog</title>
    <link>/tags/dns/</link>
    <description>Recent content in Dns on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 29 Apr 2019 00:59:03 +0000</lastBuildDate>
    
	<atom:link href="/tags/dns/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Fedora – dnsmasq with NetworkManager</title>
      <link>/2019/04/29/fedora-dnsmasq-with-networkmanager/</link>
      <pubDate>Mon, 29 Apr 2019 00:59:03 +0000</pubDate>
      
      <guid>/2019/04/29/fedora-dnsmasq-with-networkmanager/</guid>
      <description>&lt;p&gt;I have been thinking of writing about this for long time but someone else did and it is nice write-up so here is the link – &lt;a href=&#34;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&#34;&gt;https://fedoramagazine.org/using-the-networkmanagers-dnsmasq-plugin/&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>DNS – simple and effective guide with history</title>
      <link>/2016/02/15/dns-simple-effective-guide-history/</link>
      <pubDate>Mon, 15 Feb 2016 01:09:00 +0000</pubDate>
      
      <guid>/2016/02/15/dns-simple-effective-guide-history/</guid>
      <description>&lt;p&gt;Here is link to a very nice and definitive guide to DNS. Very detailed and useful. There is a pdf version as well to download 🙂&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://webhostinggeeks.com/guides/dns/&#34;&gt;https://webhostinggeeks.com/guides/dns/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks to Andrijana Nikolic for providing a valuable resource to share with you all.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dnsmasq not starting from NetworkManager with SELinux enabled.</title>
      <link>/2013/03/16/dnsmasq-starting-networkmanager-selinux-enabled/</link>
      <pubDate>Sat, 16 Mar 2013 11:34:11 +0000</pubDate>
      
      <guid>/2013/03/16/dnsmasq-starting-networkmanager-selinux-enabled/</guid>
      <description>&lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/96408062@N00/3894034368&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;OpenWrt - Dnsmasq&#34; alt=&#34;OpenWrt - Dnsmasq&#34; src=&#34;https://i0.wp.com/farm3.static.flickr.com/2571/3894034368_2f9d8ec51b_m.jpg?resize=240%2C195&#34; width=&#34;240&#34; height=&#34;195&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;OpenWrt &amp;#8211; Dnsmasq (Photo credit: magicfab)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Some time back I posted on &lt;a href=&#34;http://blog.amit-agarwal.co.in/2013/01/28/dnsmasq-network-manager/&#34; title=&#34;dnsmasq – use with Network Manager.&#34;&gt;dnsmasq starting from Network Manager&lt;/a&gt; and how to &lt;a href=&#34;http://blog.amit-agarwal.co.in/2010/04/30/local-dns-server-for-faster-dns-response-time/&#34; title=&#34;Local DNS Server for faster DNS response time&#34;&gt;setup dnsmasq&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Now, couple of days back , I setup dnsmasq in &lt;a class=&#34;zem_slink&#34; title=&#34;NetworkManager&#34; href=&#34;http://projects.gnome.org/NetworkManager/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;NetworkManager&lt;/a&gt; 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 &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;dns&lt;/a&gt; queries. Checked “ps -eaf|&lt;a class=&#34;zem_slink&#34; title=&#34;Grep&#34; href=&#34;http://en.wikipedia.org/wiki/Grep&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;grep&lt;/a&gt; dns” and found that there was no dnsmasq running. I knew that once you mention “&lt;strong&gt;dns=dnsmasq&lt;/strong&gt;” 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 &lt;a class=&#34;zem_slink&#34; title=&#34;Security-Enhanced Linux&#34; href=&#34;http://en.wikipedia.org/wiki/Security-Enhanced_Linux&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;SELinux&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>dnsmasq – use with Network Manager.</title>
      <link>/2013/01/28/dnsmasq-network-manager/</link>
      <pubDate>Mon, 28 Jan 2013 00:42:24 +0000</pubDate>
      
      <guid>/2013/01/28/dnsmasq-network-manager/</guid>
      <description>&lt;figure style=&#34;width: 221px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://roadtrafficsigns.com/RT/One-Way-Signs-An-American-History.aspx&#34; target=&#34;_blank&#34;&gt;&lt;img class=&#34;zemanta-img-inserted zemanta-img-configured&#34; title=&#34;Niles Machine Company&#34; alt=&#34;Niles Machine Company&#34; src=&#34;https://i1.wp.com/roadtrafficsigns.com/img/art/Niles-Machine-Company.jpg?resize=221%2C279&#34; width=&#34;221&#34; height=&#34;279&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Niles Machine Company (Photo credits: roadtrafficsigns.com)&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Well if you have not heard about dnsmasq:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Dnsmasq&#34; href=&#34;http://www.thekelleys.org.uk/dnsmasq/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Dnsmasq&lt;/a&gt; is lightweight, easy to configure &lt;a class=&#34;zem_slink&#34; title=&#34;Domain Name System&#34; href=&#34;http://en.wikipedia.org/wiki/Domain_Name_System&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS&lt;/a&gt; forwarder and &lt;a class=&#34;zem_slink&#34; title=&#34;Dynamic Host Configuration Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DHCP server&lt;/a&gt;.&lt;br&gt;
It is designed to provide DNS and, optionally, DHCP, to a small network.&lt;br&gt;
It can serve the names of local machines which are not in the global&lt;br&gt;
DNS. The DHCP server integrates with the &lt;a class=&#34;zem_slink&#34; title=&#34;Name server&#34; href=&#34;http://en.wikipedia.org/wiki/Name_server&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;DNS server&lt;/a&gt; and allows machines&lt;br&gt;
with DHCP-allocated addresses to appear in the DNS with names configured&lt;br&gt;
either in each host or in a central &lt;a class=&#34;zem_slink&#34; title=&#34;Configuration file&#34; href=&#34;http://en.wikipedia.org/wiki/Configuration_file&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;configuration file&lt;/a&gt;. Dnsmasq supports&lt;br&gt;
static and dynamic DHCP leases and &lt;a class=&#34;zem_slink&#34; title=&#34;Bootstrap Protocol&#34; href=&#34;http://en.wikipedia.org/wiki/Bootstrap_Protocol&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;BOOTP&lt;/a&gt; for &lt;a class=&#34;zem_slink&#34; title=&#34;Network booting&#34; href=&#34;http://en.wikipedia.org/wiki/Network_booting&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;network booting&lt;/a&gt; of diskless&lt;br&gt;
machines.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>\[Solution\] Solaris issue with wget not resolving Domain name (DNS name lookup failure)</title>
      <link>/2010/08/09/solution-solaris-issue-wget-resolving-domain-dns-lookup-failure/</link>
      <pubDate>Mon, 09 Aug 2010 16:02:51 +0000</pubDate>
      
      <guid>/2010/08/09/solution-solaris-issue-wget-resolving-domain-dns-lookup-failure/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I was working with &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Solaris (operating system)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://oracle.com/solaris&amp;quot;&amp;gt;Solaris&lt;/a&gt; and after I had set up the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;NIS+&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/NIS%2B&amp;quot;&amp;gt;NIS+&lt;/a&gt;, &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Name server&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Name_server&amp;quot;&amp;gt;DNS server&lt;/a&gt;, IP Address and completing the basic setting. I was using the pkg-get util from the freesunware.com&lt;/p&gt;
&lt;p&gt;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 &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;IP address&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/IP_address&amp;quot;&amp;gt;IP address&lt;/a&gt; from the name. &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Name resolution&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Name_resolution&amp;quot;&amp;gt;Name resolution&lt;/a&gt; was not happening, while dig and &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Nslookup&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Nslookup&amp;quot;&amp;gt;nslookup&lt;/a&gt; was able to do the DNS lookup.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Solved -- Errors with afraid-dyndns in Goddard (Fedora 13)</title>
      <link>/2010/05/06/solved-errors-afraiddyndns-goddard-fedora-13/</link>
      <pubDate>Thu, 06 May 2010 13:31:17 +0000</pubDate>
      
      <guid>/2010/05/06/solved-errors-afraiddyndns-goddard-fedora-13/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Since I updated to the &amp;lt;a class=&amp;quot;zem_slink freebase/en/fedora&amp;quot; title=&amp;quot;Fedora&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://fedoraproject.org/&amp;quot;&amp;gt;Fedora&lt;/a&gt; 13, I was getting error from the &amp;lt;a class=&amp;quot;zem_slink freebase/en/dynamic_dns&amp;quot; title=&amp;quot;Dynamic DNS&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Dynamic_DNS&amp;quot;&amp;gt;Dynamic DNS&lt;/a&gt; client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself 🙂&lt;/p&gt;
&lt;p&gt;Problem:&lt;br&gt;
On running&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;afraid-dyndns&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I was getting the error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Entity: line 100: &amp;lt;a class=&amp;quot;zem_slink freebase/en/parsing&amp;quot; title=&amp;quot;Parsing&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Parsing&amp;quot;&amp;gt;parser&lt;/a&gt; error : Opening and ending tag mismatch: br line 99 and div&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Local DNS Server for faster DNS response time</title>
      <link>/2010/04/30/local-dns-server-for-faster-dns-response-time/</link>
      <pubDate>Fri, 30 Apr 2010 14:01:54 +0000</pubDate>
      
      <guid>/2010/04/30/local-dns-server-for-faster-dns-response-time/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here&amp;amp;#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.&lt;/p&gt;
&lt;p&gt;I am on Fedora 10, so here&amp;amp;#8217;s what I was required to do:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;yum install dnsmasq&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After this I created a file called /etc/resolve.dns with the nameserver address&amp;amp;#8217;s and heres what it looks like:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Afraid Dynamic DNS client in Fedora with Email indicating the changed to original IP.</title>
      <link>/2010/04/12/afraid-dynamic-dns-client-in-fedora-with-email-indicating-the-changed-to-original-ip/</link>
      <pubDate>Mon, 12 Apr 2010 02:37:54 +0000</pubDate>
      
      <guid>/2010/04/12/afraid-dynamic-dns-client-in-fedora-with-email-indicating-the-changed-to-original-ip/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34; style=\&#34;margin: 1em; display: block;\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34; style=\&#34;width: 136px;\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://www.crunchbase.com/product/fedora\&#34;&gt;&lt;img title=\&#34;Image representing Fedora as depicted in Crunc...\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/21266v1-max-450x450.png\&#34; alt=\&#34;Image representing Fedora as depicted in Crunc...\&#34; width=\&#34;126\&#34; height=\&#34;41\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34; style=\&#34;font-size: 0.8em;\&#34;&gt;Image via &lt;a href=\&#34;http://www.crunchbase.com\&#34;&gt;CrunchBase&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you have your domain in the Dynamic DNS located at : &amp;lt;a href=&amp;quot;http://freedns.afraid.org&amp;quot;&amp;gt;Freedns&lt;/a&gt; then you know how difficult it is to get the Dynamic DNS client to work with Fedora. Not that it does not work, but you need to configure it properly and there are lot of parameters. But not any more. Now you can install the afraid Dynamic DNS client and just put your Account Hash in the config file and you are ready with the setup to update the DNS entry whenever your IP changes. So lets get started:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>OpenDNS and Proxies: Putting it All Together on Ubuntu Karmic</title>
      <link>/2010/03/16/opendns-and-proxies-putting-it-all-together-on-ubuntu-karmic/</link>
      <pubDate>Tue, 16 Mar 2010 02:25:41 +0000</pubDate>
      
      <guid>/2010/03/16/opendns-and-proxies-putting-it-all-together-on-ubuntu-karmic/</guid>
      <description>&lt;div class=\&#34;zemanta-img\&#34;&gt; 
&lt;div&gt;
  &lt;dl class=\&#34;wp-caption alignright\&#34;&gt; &lt;dt class=\&#34;wp-caption-dt\&#34;&gt;&lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:TheUbuntuName.svg\&#34;&gt;&lt;img title=\&#34;Ubuntu wordmark official\&#34; src=\&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/300px-TheUbuntuName.svg_.png\&#34; alt=\&#34;Ubuntu wordmark official\&#34; /&gt;&lt;/a&gt;&lt;/dt&gt; &lt;dd class=\&#34;wp-caption-dd zemanta-img-attribution\&#34;&gt;Image via &lt;a href=\&#34;http://commons.wikipedia.org/wiki/Image:TheUbuntuName.svg\&#34;&gt;Wikipedia&lt;/a&gt;&lt;/dd&gt; &lt;/dl&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I’ve been running &amp;lt;a class=&amp;quot;zem_slink freebase/en/ubuntu&amp;quot; title=&amp;quot;Ubuntu (operating system)&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.ubuntu.com/&amp;quot;&amp;gt;Ubuntu&lt;/a&gt; as my laptop &amp;lt;a class=&amp;quot;zem_slink freebase/en/operating_system&amp;quot; title=&amp;quot;Operating system&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Operating_system&amp;quot;&amp;gt;operating system&lt;/a&gt; for quite some time (year or more) and find it to be quite wonderful. However, recently I had some nasty times getting everything to work with OpenDNS.&lt;/p&gt;
&lt;p&gt;The easy thing to do is change /etc/&amp;lt;a class=&amp;quot;zem_slink freebase/en/resolv_conf&amp;quot; title=&amp;quot;Resolv.conf&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Resolv.conf&amp;quot;&amp;gt;resolv.conf&lt;/a&gt; to contain the OpenDNS entries. However, this was complicated by my use of &amp;lt;a href=&amp;quot;http://www.pps.jussieu.fr/~jch/software/polipo/&amp;quot;&amp;gt;polipo&lt;/a&gt; (web cache), &amp;lt;a href=&amp;quot;http://www.phys.uu.nl/~rombouts/pdnsd/&amp;quot;&amp;gt;pdnsd&lt;/a&gt; (&amp;lt;a class=&amp;quot;zem_slink freebase/en/name_server&amp;quot; title=&amp;quot;Name server&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Name_server&amp;quot;&amp;gt;DNS cache&lt;/a&gt;), and &amp;lt;a href=&amp;quot;http://en.wikipedia.org/wiki/Resolvconf&amp;quot;&amp;gt;resolvconf&lt;/a&gt; (a resolv.conf file manager) – not to mention the use of &amp;lt;a href=&amp;quot;http://sourceforge.net/apps/trac/ddclient&amp;quot;&amp;gt;ddclient&lt;/a&gt; to update the dynamic &amp;lt;a class=&amp;quot;zem_slink freebase/en/internet_protocol&amp;quot; title=&amp;quot;Internet Protocol&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Internet_Protocol&amp;quot;&amp;gt;IP&lt;/a&gt; on the laptop, &lt;em&gt;and&lt;/em&gt; the Gnome &amp;lt;a href=&amp;quot;http://projects.gnome.org/NetworkManager/&amp;quot;&amp;gt;NetworkManager&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Types of DNS records</title>
      <link>/2008/11/03/types-of-dns-records/</link>
      <pubDate>Mon, 03 Nov 2008 02:14:08 +0000</pubDate>
      
      <guid>/2008/11/03/types-of-dns-records/</guid>
      <description>&lt;p&gt;&amp;lt;span style=&amp;quot;font-family: verdana; font-size: x-small;&amp;quot;&amp;gt;&lt;strong&gt;Type: A&lt;/strong&gt; – Point subdomain.domain.com to a hard coded &lt;strong&gt;IP Address&lt;/strong&gt;. Most direct and straight forward option, also note any change you make in the FreeDNS program is reflected on the internet and made live immediately. The only way you will not see immediate results is if you have cached a query on your computer by looking it up PRIOR to configuring it in the FreeDNS program.&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
