Quote:
Originally Posted by bathory
I don't think your dns is caching but rather it's still forwarding queries. The cached response should be practically zero msec. So, did you removed the forwarders directive in named.conf, or you're still forwarding queries to opendns?
|
No... I changed it now.
Code:
options {
directory "/var/named"; // the default
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
// forwarders { 208.67.222.222; 208.67.220.220; };
listen-on port 53 {192.168.1.1; 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
};
key "rndckey" {
algorithm hmac-md5;
secret "nKUNqNQKXWzv/osPl7g59w==";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndckey"; };
};
zone "mydomain.local" in {
type master;
file "mydomain.local.ns";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" in {
type master;
file "1.168.192.in-addr.arpa.ns";
allow-update { none; };
};
zone "." { // this is the caching element?
type hint;
file "named.root";
};
.. but now I am getting these messages in the server message log
Feb 12 15:27:39 hostserver named[16358]: flushing caches in all views succeeded
Feb 12 15:27:40 hostserver named[16358]: network unreachable resolving 'plusone.google.com/A/IN': 2001:503:231d::2:30#53
Feb 12 15:27:41 hostserver named[16358]: network unreachable resolving 'fbcdn-profile-a.akamaihd.net/A/IN': 2001:503:a83e::2:30#53
Feb 12 15:28:10 hostserver named[16358]: network unreachable resolving 'pdns3.ultradns.org/A/IN': 2001:500:40::1#53
Feb 12 15:28:10 hostserver named[16358]: network unreachable resolving 'pdns3.ultradns.org/AAAA/IN': 2001:500:40::1#53
Feb 12 15:28:10 hostserver named[16358]: network unreachable resolving 'pdns5.ultradns.info/AAAA/IN': 2001:500:19::1#53
Feb 12 15:28:10 hostserver named[16358]: network unreachable resolving 'pdns5.ultradns.info/AAAA/IN': 2001:500:1a::1#53
Feb 12 15:28:10 hostserver named[16358]: network unreachable resolving 'moviecontrol.netflix.com/A/IN': 2001:502:f3ff::1#53
Feb 12 15:28:34 hostserver named[16358]: network unreachable resolving 'www.americanselect.org/A/IN': 2001:500:c::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns3.easydns.org/A/IN': 2001:500:f::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns3.easydns.org/AAAA/IN': 2001:500:f::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/A/IN': 2001:500:41::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/AAAA/IN': 2001:500:41::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/A/IN': 2001:500:1b::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/AAAA/IN': 2001:500:1b::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/A/IN': 2001:500:1c::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/AAAA/IN': 2001:500:1c::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/A/IN': 2001:500:49::1#53
Feb 12 15:28:35 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/AAAA/IN': 2001:500:49::1#53
Feb 12 15:28:36 hostserver named[16358]: network unreachable resolving 'dns4.easydns.info/A/IN': 2001:678:5::13#53
Feb 12 15:28:41 hostserver named[16358]: network unreachable resolving 'za.akadns.org/A/IN': 2001:500:48::1#53
Feb 12 15:28:41 hostserver named[16358]: network unreachable resolving 'zb.akadns.org/A/IN': 2001:500:48::1#53
Feb 12 15:28:41 hostserver named[16358]: network unreachable resolving 'za.akadns.org/AAAA/IN': 2001:500:48::1#53
Feb 12 15:28:41 hostserver named[16358]: network unreachable resolving 'zb.akadns.org/AAAA/IN': 2001:500:48::1#53
Feb 12 15:28:41 hostserver named[16358]: network unreachable resolving 'zc.akadns.org/A/IN': 2001:500:48::1#53
^[[BFeb 12 15:29:35 hostserver named[16358]: network unreachable resolving 'www.linuxquestions.org/A/IN': 2001:500:e::1#53
Feb 12 15:29:35 hostserver named[16358]: network unreachable resolving 'twitter.com/A/IN': 2001:500:90:1::34#53
Feb 12 15:29:35 hostserver named[16358]: network unreachable resolving 'twitter.com/A/IN': 2001:500:94:1::34#53
Feb 12 15:29:35 hostserver named[16358]: network unreachable resolving 'hostserver.hsd1.pa.comcast.net/A/IN': 2001:558:100a:5:68:87:68:244#53
Feb 12 15:30:26 hostserver named[16358]: network unreachable resolving 'electricbluefishproductions.tumblr.com/A/IN': 2001:502:4612::1#53
Feb 12 15:31:10 hostserver named[16358]: network unreachable resolving 'packet8.net/NAPTR/IN': 2001:503:231d::2:30#53
Feb 12 15:31:11 hostserver named[16358]: network unreachable resolving 'p2-eq.p8t.us/A/IN': 2001:503:d1ae:ffff:ffff:ffff:ffff:ff7e#53
Feb 12 15:31:11 hostserver named[16358]: network unreachable resolving 'p2-eq.p8t.us/A/IN': 2001:500:3682::11#53
Quote:
Originally Posted by bathory
I don't know if I can understand what siteSubDom.fullyQualifiedDomainName.com is. Is your dns supposed to be authoritative for the fullyQualifiedDomainName.com domain? If so, you have to add that zone in your dns named.conf and create the zone file for it.
The wildcard entry was intended to be used for the domain mydomain.local. You can do the same for fullyQualifiedDomainName.com, if you're authoritative for it. Or else please clarify what you're trying to do.
|
Sorry for being unclear. I am using noip.com to manage a domain lets call it
www.bluefish1.com. I am pointing some sub domain say dev.bluefish1.com to my local apache servers (site development servers). dev.bluefish1.com is resolveable from outside the lan but within the lan it errors out. If I manually add
dev.bluefish1.com to the client via the hosts file of that system it resolves fine "of course".
Quote:
Originally Posted by bathory
Again, explain what you mean. The internal dns can only be used from hosts within your LAN not from outside it.
|
Map of what is going on.