{"id":32,"date":"2005-04-02T20:55:14","date_gmt":"2005-04-03T02:55:14","guid":{"rendered":"http:\/\/www.mrambler.com\/blog\/?p=32"},"modified":"2005-04-02T20:56:16","modified_gmt":"2005-04-03T02:56:16","slug":"bind-fun-cant-see-the-outside-from-in","status":"publish","type":"post","link":"http:\/\/www.mrambler.com\/blog\/2005\/04\/02\/bind-fun-cant-see-the-outside-from-in\/","title":{"rendered":"Bind fun &#8211; can&#8217;t see the outside from in"},"content":{"rendered":"<p>I&#8217;ve been working around a Bind problem for sometime now.  <a href=\"http:\/\/www.isc.org\/index.pl?\/sw\/bind\">Bind<\/a> is a name server program used to resolve hostnames to IP addresses.  For example, before your browser could display this post, your machine contacted your name server that in turn contacted my machine running bind to find out the IP address for this site&#8217;s web server, since only the name server on my machine and its backup are authoritative for www.mrambler.com.  Now this doesn&#8217;t always happen because name servers cache name resolutions for a specified period of time.  If you just visited yesterday, then your name server would have likely just responded with the IP address it gave you yesterday rather than bother to lookup and query mine.  (All of this is, of course, somewhat simplified.)<\/p>\n<p>Anyway, on to my trouble: I&#8217;ve only defined the mrambler.com zone in a public\/external view.  I also have an internal view to resolve hostnames for my internal network, none of which are in the mrambler.com domain.  So when I try to look up mrambler.com from inside, I get a &#8220;can&#8217;t find mrambler.com: Server failed&#8221; error.  Looking in the server log, I see &#8220;lame-servers: lame server resolving &#8216;mrambler.com&#8217; (in &#8216;mrambler.com&#8217;?)&#8221;.  Lame eh?  A lame server is a server that should be authoritative for a domain but for some reason isn&#8217;t.  So here&#8217;s what I think the problem is: My internal machine needs to resolve the mrambler.com name so it contacts my name server.  My name server sees that it is receiving the request from an internal machine and thus allows the query.  Now since that view doesn&#8217;t have mrambler.com as a zone, it performs a lookup.  Now here&#8217;s the troublesome bit &#8212; that lookup is coming from my public IP address which is the same IP address that mrambler.com&#8217;s name server resolves to.  So it is probably considered lame since a name server is requesting the name server of a domain that it is supposed to be authoritative for.  (Got it?)  Unfortunately I don&#8217;t know of a clean solution yet.  I certainly don&#8217;t want to duplicate my zone files for both zones.  Any ideas?  Also, I welcome general name server questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working around a Bind problem for sometime now. Bind is a name server program used to resolve hostnames to IP addresses. For example, before your browser could display this post, your machine contacted your name server that in turn contacted my machine running bind to find out the IP address for this site&#8217;s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/posts\/32"}],"collection":[{"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mrambler.com\/blog\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}