/ip dns static add address=208.69.34.230 disabled=no name=www.google.com ttl=1d add address=208.69.34.231 disabled=no name=www.google.com ttl=1d
I tried that on the very first mikrotik box that the requests should have gone to. The PCs were configured to use the MT router as the DNS server, so nothing else should have been in between caching the requests. Pingingwww.google.comstill failed, so I'm clearly confused as to why things weren't working.The temporary solution for this problem isCode:Select all/ip dns static add address=208.69.34.230 disabled=no name=www.google.com ttl=1d add address=208.69.34.231 disabled=no name=www.google.com ttl=1d
/ip dns cache; flush
TryHi ...
I noticed this behaviour some time ago, not only for Google but for a couple of web sites.
Since flushing DNS cache woked for me when I was trying to figure what was going on, my dirty turn around was a small 'script' that flushes the DNS cache from time to time, typed directly on scheduler, something like this:
Scheduler run each 10 or 15 minutes, I don't remember. May be once an hour works too, donno. Ok, may be I miss the main caching feature but ... better some miliseconds to a name resolution each 10 minutes than people screaming because google.com does not load.Code:Select all/ip dns cache; flush
Besides that most of those vy 'dynamic' sites defines some ip addresses ttl to 5 minutes or so anyway ...
Regards;
/ip dns set max-cache-ttl=15m
te right sintax is "set max-udp-packet-size=768 cache-max-ttl=15m"I tried this:
/ip dns
set udp-packet-size=768 cache-max-ttl=15m
But I get a "expected end of command" error.
Where am I going wrong?
Also i want to say that i use OPENDNS and a central DNS proxy build with mikrotik [all the station/client connect to the central DNS proxy].The internet will be working great for all of my customers, but then I'll start getting phone calls saying that they can't get towww.google.com. I've even had it happen to me while I had myself setup with a CPE. I can ping google.com just fine, but when I add the www, ping acts as if the domain doesn't exist. If I do an nslookup towww.google.com, it usually finds the IP address, which makes me think that the DNS server is actually working fine. I ran Wireshark and watched when I tried to pingwww.google.com, and the strange thing is that it didn't even look like it was sending a DNS query. I would see a couple netbios requests, but that was it. just going to google.com worked just fine.
Probably because it is such a random problem... as said earlier, there is no guaranteed way to duplicate it. So, the problem going away for you doesn't necessarily have anything to do with changing dns providers...And why changing from OPENDNS to ISP provider in my mikrotik dns proxy solve COMPLETLY the problem......
This is just a guess, but maybe the ISP already overrides Google's TTL or responds in a way that the MT doesn't get confused. It's a strange problem, and I all can confirm is that for ME, using different ISP's or DNS services did not cause the problem to go away.And why changing from OPENDNS to ISP provider in my mikrotik dns proxy solve COMPLETLY the problem......
Nope, not the fault of OpenDNS... like was stated above, some DNS providers probably correct for this before you receive it, so it seems like they work fine. However, just because OpenDNS does not do this does not mean it is the fault of OpenDNS. Other DNS providers have this save issue.I have had this happen randomly on a handful of the 40-50ish MTs I have out in the field.
Its OpenDNS, not Mikrotik. If you flush the DNS cache, it might start working, or if you just wait.
I use it for free hotspots, so it isnt a big deal. The people dont pay for the service anyways.
The thing is, it happens with other DNS servers other than OpenDNS. If it works with your ISP's servers, it might just be luck of the draw... but it is not isolated to only OpenDNS.I believe the issue is not MT but is OpenDNS and they way they hack the DNS response back to clients.
I didn't think that UBNT CPE had a DNS cache. I thought UBNT devices just had a DNS forward function only. Not 100% sure about this. Maybe this is why UBNT is working and MT is not. I feel that the cached entries are the problem. Can you do some more tests to rule this theory 100% in or out.
The UBNT devices have had zero problem caching the wrong TTL and needing to be flushed.
Joe
/ip dns static add address=208.69.34.230 disabled=no name=www.google.com ttl=1d add address=208.69.34.231 disabled=no name=www.google.com ttl=1d
RouterOS will automatically balance requests between the primary and secondary DNS and not just use the secondary when the primary does not respond. So if any of the configured nameservers are OpenDNS, some (half?) of your queries will be answered by it.Well, OpenDNS isn't my primary DNS server at the moment
I can change it for the sake of testing :)
As I mentioned shortly after I began this thread, I first starting having the Google problem before I had ever used OpenDNS. Switching to OpenDNS was one of the things I tried, hoping it would fix the problem. So how does not using OpenDNS help resolve any frustration when it has been reported that this still happens while not using OpenDNS? Either way, I just switched my entire network over to using Google's own public DNS service, so I'm now getting the records right from the horse's mouth, as the saying goes.You seem to be pretty frustrated, could you for the moment stop using OpenDNS and instead use a different set of DNS servers? That doesn't fix the problem, but it would at least resolve your frustration until we can pin down exactly what is happening.
Has anyone ever seen this behavior when using OpenDNS in any setup without a Mikrotik in the loop?
[admin@CPE] > /ip dns print primary-dns: 8.8.8.8 secondary-dns: 8.8.4.4 allow-remote-requests: yes max-udp-packet-size: 512 cache-size: 2048KiB cache-max-ttl: 1w cache-used: 83KiB [admin@CPE] > /ip dns cache all print terse where name="www.google.com" 0 name=www.google.com type=CNAME data=www.l.google.com ttl=5d23h46m32s [admin@CPE] > /ip dns cache all print terse where name="www.l.google.com" [admin@CPE] > /ip dns cache flush [admin@CPE] > :delay 5 [admin@CPE] > :resolve "www.google.com" [admin@CPE] > :delay 2 [admin@CPE] > :resolve "www.l.google.com" [admin@CPE] > :delay 2 [admin@CPE] > /ip dns cache all print terse where name="www.google.com" 1 name=www.google.com type=CNAME data=www.l.google.com ttl=2d23h57m51s [admin@CPE] > /ip dns cache all print terse where name="www.l.google.com" 2 name=www.l.google.com type=A data=209.85.225.147 ttl=2m34s 3 name=www.l.google.com type=A data=209.85.225.105 ttl=2m34s 4 name=www.l.google.com type=A data=209.85.225.106 ttl=2m34s 5 name=www.l.google.com type=A data=209.85.225.104 ttl=2m34s 6 name=www.l.google.com type=A data=209.85.225.99 ttl=2m33s 7 name=www.l.google.com type=A data=209.85.225.103 ttl=2m33s
You were correct about the UBNT devices. Mike Ford from UBNT confirmed that they do not cache the responses and only forward them. I agree that the cached entries are what keepswww.google.comfrom working, but even if the UBNT devices don't cache the responses, the client's router or computer should be caching the responses that the UBNT devices pass along, right?I didn't think that UBNT CPE had a DNS cache. I thought UBNT devices just had a DNS forward function only. Not 100% sure about this. Maybe this is why UBNT is working and MT is not. I feel that the cached entries are the problem. Can you do some more tests to rule this theory 100% in or out.
This is a work around. We need to come to the bottom of the problem and look for its solution.I think the best way is to put in a static record and this will take precedence over the cache.
What concerns me is there any other sites that we do not know about ?
I switched to OpenDNS because my ISP's servers were very unreliable and OpenDNS has more usefull features..
But swiching to ISP DNS server does not give any more that issue.
I think the problem is between Open DNS and MikroTik cache.
Poke oh who? :-)Works great to proxy-redirect block.opendns.com tohttp://www.disney.com. Those trying to surf for hardcore smut will end up getting Pochohontas... :D
I have the same problem with google AND MICROSOFT:COM, sometimes i try to udate the msn and other from microsoft and give me load error, BUT THE SURPRISE IS THAT I WAS WORKING WITH LINUX ROUTER NOT MIKROTIK.... but if i make a nslookup microsoft.com an put the ip in the browser the page load perfect. but the internal links give error again because the link point to a dns names.As an update to all of my earlier posts. I now know a little more about this problem. The issue definitely is thathttp://www.google.com(and occasionally other Google domains) is cached for 1 week. Once the problem has affected one router, anything that relies on that routers cache is affected because the record (along with the wrong TTL) is passed along right down to the customer's computer. The only fix is to flush the dns cache all the way down the chain.
The cause of the issue seems to only occur on Mikrotik routers. I originally saw the problem on other brands of routers too, but that was because all of my CPE routers were set to use my main Mikrotik router as their DNS server which was forwarding and caching DNS requests.
I have since changed my network so that all of my CPE devices currently point right to OpenDNS. What I have seen is that occasionally, a small handful of Mikrotik CPE still get the 1 week problem. The problem still gets passed along to any routers and computers they may have, but the scope of who gets affected is much smaller now. The problem definitely does not stem with OpenDNS. I have used a handful of different DNS servers (even tried setting my own server which directly used the root servers) and the problem still crops up from time to time, but again, only on Mikrotik routers.
This is a tough problem to troubleshoot since it only happens once in awhile and there is no way to duplicate it that I know of. Manually overriding the max TTL's on the Mikrotik settings SHOULD work in theory, but I haven't actually tried it as I'd prefer not to mess too much with workarounds.
Hopefully this info helps. It's a frustrating problem and I wish it could be gone for good.
Joe
I'm not an ISP but I use Mikrotik as LAN routers for my customers and I've experienced this problem. However not since moving away to another DNS (either Google or the ISP DNS).How many people having this problem are ISPs?
Have you not read this whole thread? This is getting really frustrating and nobody at MT seems to care. Here's the basic summary of this thread:WirelessRudy, currently I do not see, where is MikroTik fault, as it is working as middle chain.
User requestshttp://www.google.com, DNS cache is asking for DNS server, DNS server is replying.
If DNS server reply is not too good, why MikroTik DNS cache should change it.
Have you tried another DNS server, do you have the same problem?
You are rightHave you not read this whole thread? This is getting really frustrating and nobody at MT seems to care. Here's the basic summary of this thread:WirelessRudy, currently I do not see, where is MikroTik fault, as it is working as middle chain.
User requestshttp://www.google.com, DNS cache is asking for DNS server, DNS server is replying.
If DNS server reply is not too good, why MikroTik DNS cache should change it.
Have you tried another DNS server, do you have the same problem?
1) We can confirm that while using an MT router with OpenDNS,http://www.google.comwon't load properly.
2) We aren't positive yet, so we can't confirm that it only happens with OpenDNS, but that seems to be the case.
3) But we CAN confirm that it only happens with MT routers, nobody else using OpenDNS is having this problem.
4) Something in MT's DNS goofs uphttp://www.google.comwith the combination of MT and OpenDNS.
Did I miss anything?
One thing, it's been covered several times in this thread but since we're recapping it'd be good to double check. In this setup, both the Primary and Secondary DNS servers are pointing to OpenDNS servers, correct?Have you not read this whole thread? This is getting really frustrating and nobody at MT seems to care. Here's the basic summary of this thread:
1) We can confirm that while using an MT router with OpenDNS,http://www.google.comwon't load properly.
2) We aren't positive yet, so we can't confirm that it only happens with OpenDNS, but that seems to be the case.
3) But we CAN confirm that it only happens with MT routers, nobody else using OpenDNS is having this problem.
4) Something in MT's DNS goofs uphttp://www.google.comwith the combination of MT and OpenDNS.
Did I miss anything?
Have you not read this whole thread? This is getting really frustrating and nobody at MT seems to care. Here's the basic summary of this thread:WirelessRudy, currently I do not see, where is MikroTik fault, as it is working as middle chain.
User requestshttp://www.google.com, DNS cache is asking for DNS server, DNS server is replying.
If DNS server reply is not too good, why MikroTik DNS cache should change it.
Have you tried another DNS server, do you have the same problem?
1) We can confirm that while using an MT router with OpenDNS,http://www.google.comwon't load properly.
2) We aren't positive yet, so we can't confirm that it only happens with OpenDNS, but that seems to be the case.
3) But we CAN confirm that it only happens with MT routers, nobody else using OpenDNS is having this problem.
4) Something in MT's DNS goofs uphttp://www.google.comwith the combination of MT and OpenDNS.
Did I miss anything?
你或其他人解释回应我吗s not "not good". From what I gather the response is unusual but not out of RFC spec (I'm talking about CNAME reply).If DNS server reply is not too good, why MikroTik DNS cache should change it.
Ok... Post links to them. Most of the issues I have seen with the users of consumer routers have been mis-configured settings or ISP issues. Here's what I find Looking through all the threads back to the beginning of August:Last night I spend some hours in just googling and reading all kinds of forums I came across mentioning the same or sort of same problem. I could not see that the many treads on the OpenDNS forums regarding the subject have been from MT users. In contrary, some stated specifically they used D-link or other domestic type of adsl routers.
I don't think that is the problem at all. All they are doing is returning results that point to a different IP address to "proxy" google traffic through their servers so you can use the filtering options they provide.I have been reading an article (can`t find it no more) from OpenDNS were they explained why resolving to google.com (and the caching in their cache system) is done a bit different then on most other sites.
Ok, let's stop the speculation about the "big bad giant". This is pure speculation and just an easy attempt to point the finger at Google. If Google were doing this, all the "nerds" around the world would have picked up on this and this would have been a major news issue two or three months ago.In my opinion the issue is a result of the attempts of google to gain access to the interesting dns resolving market.
Again, I disagree. I can't find enough threads to support your claim about different kinds of equipment. Think about how small the MT market is compared to Linksys, D-link, Netgear, etc combined. Why am I finding just as many posts from the very small MT userbase as the rest of those combined.我不知道为什么你想知道有多少成员with the issue are ISP's. I am one, a small one but I'll bet most members of this forum are small or bigger ISP's. But at the same time treads on forums elsewhere show the problem also exist amongst single users of all kind of equipment. ISP's on the other hand control usually more clients and thus if there is any problem amongst their users they will also have a bigger change to get the notification from a user and out of professional point of view also will take bigger effort to solve the problem or bring it under attention amongst us...
And this is a rule that we're all supposed to obey? Yes, if you are a very large ISP, you are right, that it probably makes more sense to run your own DNS server, but for a small ISP, there is zero reason why running your own DNS server is a requirement. Should every small business have their own DNS server?If you are a small ISP or a large ISP, you shouldnt be using OpenDNS for your DNS servers. You should have your own caching servers that query root.
That is my point.
YesShould every small business have their own DNS server?
So use ISPs reliable DNS servers, or use OpenDNS and have failures.And this is a rule that we're all supposed to obey? Yes, if you are a very large ISP, you are right, that it probably makes more sense to run your own DNS server, but for a small ISP, there is zero reason why running your own DNS server is a requirement. Should every small business have their own DNS server?If you are a small ISP or a large ISP, you shouldnt be using OpenDNS for your DNS servers. You should have your own caching servers that query root.
That is my point.
Don't forget, the primary target audience for OpenDNS is for those TRYING TO GET AWAY FROM USING THEIR ISP'S DNS SERVERS.
I apologize for my recent posts being snotty, but I'm getting tired of everyone trying to point the finger instead of helping to troubleshoot this problem...
Question should be: what happens withen you use MT with OpenDNS?OK. Troubleshooting.
What happens when you dont use OpenDNS?
It's perfectly fine to use someone else for DNS it's called outsourcingEDIT: And if you are a small ISP and dont have your own DNS server, you are doing something severely wrong.
What do you mean by very short sighted? We have sticked with opendns more than needed, just to give a chance.Very short sighted though! Didn`t we all dislike some years ago how powerful Microsoft became? Why should we now help yet another company trying to achieve the same.
I think we all should help OpenDNS and/or this community to find a workable solution.
Ok, but I still fail to understand this: why do only my clients with MT routers end up with this problem. Somebody hijacking DNS requests wouldn't (and probably couldn't) discriminate between requests from XP, UBNT, MT, etc.Your DNS requests are being hijacked, or someone is trying to run the trick of beating the response from the correct server and hoping they can get the correct sequence number. The 1 week TTL is a bit of a clue that something unsavory is going on, not a technical problem per se.
$ dig @ns1.google.com www.google.com | grep CNAME www.google.com. 604800 IN CNAME www.l.google.com.
I haven't seen anybody suggest my thought, so here it is:
Your DNS requests are being hijacked, or someone is trying to run the trick of beating the response from the correct server and hoping they can get the correct sequence number. The 1 week TTL is a bit of a clue that something unsavory is going on, not a technical problem per se.
If I were going to try to attack OpenDNS responses, I'm sure I would start with Google as well. Once you get that working, you can steer the victim anywhere you want.
Unlike the Windows DNS client, if you configure two DNS servers under "/ip dns" RouterOS will use them round robin to resolve. Setting secondary-dns to 0.0.0.0 should disable it, I think.roadracer96, yes it is true, that /ip dns can work round-robin for both configured DNS servers. When router needs to get IP/DNS for new address, which is not in the cache, round-robin is true, when both servers sent good replies for long time.
I'm wondering if we have our answer mixed in with all of the conversation.
- Mikrotik round-robins their DNS requests.
- OpenDNS resolves Google in a way that the Mikrotik has to make two requests
- When the Mikrotik makes the second DNS request, they use the other DNS server listed, not the original one
We know this causes problems if you're using a mix of one OpenDNS and one standard DNS server. I'm wondering if that two step request to two different OpenDNS servers is also causing problems. Has anyone noticed the DNS problems if you're using OpenDNS with only one DNS server listed (Secondary is completely blank) on your Mikrotik?
Scott
A: at worst you'll receive stale data - but you'll still get some reply. The issue here isn'twrong resolution however, so I don't think that is the case.Maybe this IS the problem. What happens if OpenDNS changes the IP that it resolves to but it hasnt propagated to the secondary server by the time the subsequent request is made?
I guess times are changing and RFC are just that. One might argue that sending false information, as you put it, is what OpenDNS does for business. But that's not an a problem. The issue is that on occasion MT DNS does not resolvewww.google.comat all (not even to "false" OpenDNS servers).Now, OpenDNS decided to enter a CNAME record forwww.google.comwhich isn't allowed and which results in everyone using OpenDNS for DNS resolution to receive false information. If things didn't change since 2002, Google could report this and have this practice stopped.
Wow, nice info. First of all I am delighted to find another Dutch on this forum. I have the feeling there aren't a lot. (En wanneer dat wel het geval is, zend me een mail naarinfo@marucom.es. I wil wel eens weten met wie ik dan van doen heb!) Great! Any Dutch emigrated and working with MT? Even better! "Laat je horen!"Well, here goes for my first post here
I admit that I retired in 2002 but I used to be one of those DNS guru's (I started first commercial ISP in Holland) and actually worked on the RFC's with RIPE and IETF. ............
..
cheers,
Nick.
So, that's how it is today...?? Someone, OpenDNS in this case, breaks the RFC which results in a problem on a MT device/software that does conform to the RFC and now you say that you don't care and demand that MT takes care of the problem? Do you know how many DNS servers there are on the Internet? Without them all conforming to the RFC's and guidelines, there would be no Internet, there is no way that it'll all work together that way. Standardization is not a luxury or frill; without it, it'll come tumbling down.I guess times are changing and RFC are just that. One might argue that sending false information, as you put it, is what OpenDNS does for business. But that's not an a problem. The issue is that on occasion MT DNS does not resolvehttp://www.google.comat all (not even to "false" OpenDNS servers).
Now, just to show you that stuff is broken, you should query the SOA records (Start Of Authority):I looked back through this thread and I noticed that everyone keeps checkinghttp://www.l.google.comfor an IP address. This DNS name is not used when you're running OpenDNS.
When you use OpenDNS's servers,http://www.google.comactually points to google.navigation.opendns.com. Can you guys running OpenDNS show what IP address is being resolved for google.navigation.opendns.com when you have problems?
#nslookup > server 208.67.222.222 Default Server: resolver1.opendns.com Address: 208.67.222.222 > set q=SOA > www.google.com. Server: resolver1.opendns.com Address: 208.67.222.222 Non-authoritative answer: www.google.com canonical name = google.navigation.opendns.com > > server 8.8.8.8 Default Server: google-public-dns-a.google.com Address: 8.8.8.8 > www.google.com. Server: google-public-dns-a.google.com Address: 8.8.8.8 Non-authoritative answer: www.google.com canonical name = www.l.google.com www.l.google.com canonical name = www-tmmdi.l.google.com l.google.com primary name server = ns4.google.com responsible mail addr = dns-admin.google.com serial = 1406548 refresh = 900 (15 mins) retry = 900 (15 mins) expire = 1800 (30 mins) default TTL = 60 (1 min)
> server ns4.google.com. Default Server: ns4.google.com Address: 216.239.38.10 > www.google.com. Server: ns4.google.com Address: 216.239.38.10 www.google.com canonical name = www.l.google.com l.google.com primary name server = ns3.google.com responsible mail addr = dns-admin.google.com serial = 1406549 refresh = 900 (15 mins) retry = 900 (15 mins) expire = 1800 (30 mins) default TTL = 60 (1 min) google.com nameserver = ns1.google.com google.com nameserver = ns3.google.com google.com nameserver = ns2.google.com google.com nameserver = ns4.google.com ns1.google.com internet address = 216.239.32.10 ns3.google.com internet address = 216.239.36.10 ns2.google.com internet address = 216.239.34.10 ns4.google.com internet address = 216.239.38.10 >
Hi Rudy,Wow, nice info. First of all I am delighted to find another Dutch on this forum. I have the feeling there aren't a lot. (En wanneer dat wel het geval is, zend me een mail naarinfo@marucom.es. I wil wel eens weten met wie ik dan van doen heb!) Great! Any Dutch emigrated and working with MT? Even better! "Laat je horen!"
I swapped to my IPS's dns servers three weeks ago and since then everything fine. But yes, I need to build Bind. I'd only wish I had the time to do it (and the knowledge and hardware.....)
What machine's suggested to use for Bind? And how can that machine made redundant (with another machine?) DNS is definitely not my field, nor is setting up Linux on PC's. I tried that once and ended up throwing the PC through the room out of sheer frustration!
Nick; "als je interesse hebt, ik woon in de Costa Blanca, misschien interesse om me met het één en ander uit de brand te helpen in ruil voor een spotgoedkoop vakantie adress?
I guess times are changing and RFC are just that. One might argue that sending false information, as you put it, is what OpenDNS does for business. But that's not an a problem. The issue is that on occasion MT DNS does not resolvehttp://www.google.comat all (not even to "false" OpenDNS servers).Now, OpenDNS decided to enter a CNAME record forhttp://www.google.comwhich isn't allowed and which results in everyone using OpenDNS for DNS resolution to receive false information. If things didn't change since 2002, Google could report this and have this practice stopped.
When I first started having this problem (when I originally started this thread) I was using my own DNS server. I know for a fact that I didn't have a problem with the config.... Simple DNS caching server which queried the root servers, not any other ISP's server. Because of that one simple issue, which is what caused me to try OpenDNS in the first place, it made me strongly believe that the problem is with MT.Also, some have reported that they have this problem when they use other DNS servers too! Now, how do you know what the admin of those servers does with the config?
Yes, I've been there. What software did you use for your nameserver? Remember that if it ain't "bind" it is suspect!When I first started having this problem (when I originally started this thread) I was using my own DNS server. I know for a fact that I didn't have a problem with the config.... Simple DNS caching server which queried the root servers, not any other ISP's server. Because of that one simple issue, which is what caused me to try OpenDNS in the first place, it made me strongly believe that the problem is with MT.
虽然我非常雄心勃勃的试图找到一个年代olution, I don't have the time to test this much farther. I did switch back to OpenDNS for a few days, but then problems started cropping up again and this is not worth losing customers over. I switched to using Google's Public DNS servers, and haven't had a problem since. So I'm just sticking with what works unless I get more time to test.
It is Windows 2003 DNS server. But I'm sure that since it isn't bind/linux it doesn't make any difference and I was screwed from the beginning.What software did you use for your nameserver? Remember that if it ain't "bind" it is suspect!
It is Windows 2003 DNS server. But I'm sure that since it isn't bind/linux it doesn't make any difference and I was screwed from the beginning.What software did you use for your nameserver? Remember that if it ain't "bind" it is suspect!
Thats exactly why it would be nice if someone could get a pcap of it. I will help diagnose if someone can get it captured.This ENTIRE uncertainty about OpenDNS being the cause is ONLY becuase they give back answers other than what google wants. It could be something totally different and it just so happens google is the busiest and most noticed. How much mail isn't flowing because of a bug like this?appears MY doesn't even send the request to the DNS servers.
Just for clarification, I was being sarcastic when I posted that. I didn't need flexibility. All I needed was a simple DNS server that could resolve addresses for me. In my case, the less to configure, the better. MS DNS has worked, and continues to work fine for me... Just not with any MT boxes pointing to it as it's DNS server.Kind of. BIND has pretty much unlimited flexibility. MS DNS has almost no flexibility.It is Windows 2003 DNS server. But I'm sure that since it isn't bind/linux it doesn't make any difference and I was screwed from the beginning.What software did you use for your nameserver? Remember that if it ain't "bind" it is suspect!
Thats exactly why it would be nice if someone could get a pcap of it. I will help diagnose if someone can get it captured. This ENTIRE uncertainty about OpenDNS being the cause is ONLY becuase they give back answers other than what google wants. It could be something totally different and it just so happens google is the busiest and most noticed. How much mail isn't flowing because of a bug like this?appears MT doesn't even send the request to the DNS servers.
Let's not argue and bicker about whats better, let's just solve the problem in RouterOS by figuring out whats broken. The half implemented DNS code in MT has always been lacking and it's where my finger is pointed.
[taglio@tsunami]/home/taglio(101): uptime 11:11AM up 821 days, 15:44, 1 user, load averages: 0.02, 0.01, 0.00 [taglio@tsunami]/home/taglio(102):
Well Normis,RouterOS is no different in this regard. See that topic about RouterOS uptime. So many posts with 400 days + uptime
It would become something even better and cooler than it's now.我的意思是,网络和邮件可能是太多,但dnsis pretty close to low level network stuff. I wish for real recursive caching resolver in MikroTik for a long time. Just some nice optional package for those who need it. And in my wildest dreams, I could sometimes use even authoritative server. But I guess there would be much lower demand for this than for resolver.If we start adding DNS server, Webserver, Mailserver, Antivirus ... it will become something else.
I happen to agree with the others here when they say that a full-blown DNS implementation would be practical. What about pppoe SERVER.. Web Proxy, Hotspot, Radius, etc. All of these are beyond the scope of a basic router and PPPoE alone is way more CPU intensive than DNS.RouterOS is small and fast as a router. If we start adding DNS server, Webserver, Mailserver, Antivirus ... it will become something else.
Yep, like the user-manager package. Not installed by default, but if someone wants to use it, just install it.Do it the same way as with NTP. Basic client is part of system package. If it's not enough for someone, then there's separate NTP package that can do more.
As some suggested - if you don't trust quality of responses from your provider run your own.So, that's how it is today...?? Someone, OpenDNS in this case, breaks the RFC which results in a problem on a MT device/software that does conform to the RFC and now you say that you don't care and demand that MT takes care of the problem? Do you know how many DNS servers there are on the Internet? Without them all conforming to the RFC's and guidelines, there would be no Internet, there is no way that it'll all work together that way. Standardization is not a luxury or frill; without it, it'll come tumbling down.
I think you would think differently when some DNS server administrators start messing with your domain, like pointinghttp://www.yourdomain.comto their own server instead of yours!! You would go mad and take them to court probably
Your theory is missing a reason why it only happens sporadically and why MT stops resolvinghttp://www.google.comall together. If someone can capture traffic as changeip suggests we might get an answer otherwise number of possible points of failure is too many.So, this shows that OpenDNS fails to show the SOA record, no serial number, no nothing. The SOA record also shows who is responsible (authoritive) for this domain: dns-admin[at]google.com so you could send an Email and ask!
The first thing you must do when there is DNS trouble is ask your server the SOA and look at the serial number. Next you find the primary server for that domain and ask it for the SOA and compare the two. It must be the same. So, we just found that ns4.google.com is the primary, let's ask it:
Now, here we learn that there are multiple primary servers (big responsibility to keep those in sync!!) and that the serial has increased already. I quickly checked 8.8.8.8 again and they have the new record too. If TTL is messed with, this wouldn't work either.Code:Select all> server ns4.google.com. Default Server: ns4.google.com Address: 216.239.38.10 > www.google.com. Server: ns4.google.com Address: 216.239.38.10 www.google.com canonical name = www.l.google.com l.google.com primary name server = ns3.google.com responsible mail addr = dns-admin.google.com serial = 1406549 refresh = 900 (15 mins) retry = 900 (15 mins) expire = 1800 (30 mins) default TTL = 60 (1 min) google.com nameserver = ns1.google.com google.com nameserver = ns3.google.com google.com nameserver = ns2.google.com google.com nameserver = ns4.google.com ns1.google.com internet address = 216.239.32.10 ns3.google.com internet address = 216.239.36.10 ns2.google.com internet address = 216.239.34.10 ns4.google.com internet address = 216.239.38.10 >
If you start testing yourself you should understand that I was lazy with these tests because the SOA isn't for a hostname but for a domain. I should have queried for l.google.com. instead but these servers understood and forgave my lazyness... others might not so query for the (sub)domain if there's trouble and don't forget the last dot.
I find the whole thing suspicious when I see something like "resolver1.opendns.com" because the resolver is the client and yet here we have a server that calls itself resolver.
Also, some have reported that they have this problem when they use other DNS servers too! Now, how do you know what the admin of those servers does with the config? for all I know, he/she is caching wrong data too or forces them to use OpenDNS or whatever.... everything is possible!
So, next time it happens, see what's in your cache for google.navigation.opendns.com and there should be type-A records. Then query your cache with dig or nslookup for it etc. etc. I would also check by querying from a linux box because the windows resolver is, like anything windoze, suspect too.
ciao!
Nick.
I agree with you here 100%So, next time it happens, see what's in your cache for google.navigation.opendns.com and there should be type-A records. Then query your cache with dig or nslookup for it etc. etc.
You're making a generalization. It's like saying that just because Ford was established in 1903, you will definitely have problems driving a GM vehicle since they were founded in 1908. Microsoft didn't always have a web server either, but the newer versions of IIS are rock solid and work great. Same with DNS. As long as they follow the RFC's it shouldn't matter what software you are running. Post some real proof that Microsoft's DNS totally breaks the internet and I will listen, but until then, I'm just going to ignore any scare-tactic generalizations.For those who want to defend running a nameserver on windows: a nameserver is as alien to microsoft as Alf to Earth: there will be trouble.
They probably use bind because that's what they started with and it works. I'll be the first the admit that Windows probably won't scale to nearly the capacity that bind can, but for me, I don't need anything to handle thousands of site, so I'm sticking with what works.Just ask yourself: what do the root nameservers run? what do all the TLD nameservers for every ccTLD in the world run? answer: bind.
Yes, a solid Kernel and good drivers makes all the difference in the world. I know you keep giving me the 3rd degree about running Windows, but this isn't windows ME I'm running. It used to be less stable, but like you admit, the times change. My server has been solid for 4 years and hasn't crashed once. RouterOS is solid too, and if it ran bind, I would use it. I'm not against Bind or Linux. I just can't justify setting up a new box just to handle my minimal DNS traffic when what I have works fine.About uptime, reliability: a long long time ago freeBSD was more stable than Linux. Today, they are equal. Sure RouterOS fits in the list of stable platforms because as long as the hardware is good it is stable because the kernel is Linux.
Normis,RouterOS is small and fast as a router. If we start adding DNS server, Webserver, Mailserver, Antivirus ... it will become something else.
hmm, maybe I was getting carried away.
dns, that's really what we want. The other servers is not really important for small WISP's anyway. Plenty of third party soluciotions available on the web so why should I want to do that myself.
But dns, yes we just want a good and fast working dns solucion for clients.
cheers
I'm not sure what you are using to calculate $1/mo, but in April 2009, the average US electric cost was about 12 cents per kilowatt hour, and the trend has been that the price keeps rising. The average desktop computer takes between 100 and 200 watts, so lets compromise at 150 watts. Running it 24 hours a day would cost about $12/mo, or $150/year in electricity. I'm sure some places have cheaper electricity, but I'm also sure that a lot of countries cost much more. Don't forget about some who need to run off of solar or wind power where every watt is valuable.hmm, maybe I was getting carried away.
dns, that's really what we want. The other servers is not really important for small WISP's anyway. Plenty of third party soluciotions available on the web so why should I want to do that myself.
But dns, yes we just want a good and fast working dns solucion for clients.
cheers
Then install BIND. I dont know what power costs in Spain, but running a PC with bind should run you more than about $1USD/month. Expensive battery backups? $300 USD will buy you a backup that will run a standard PC for over an hour.
I'm not sure what you are using to calculate $1/mo, but in April 2009, the average US electric cost was about 12 cents per kilowatt hour, and the trend has been that the price keeps rising. The average desktop computer takes between 100 and 200 watts, so lets compromise at 150 watts. Running it 24 hours a day would cost about $12/mo, or $150/year in electricity. I'm sure some places have cheaper electricity, but I'm also sure that a lot of countries cost much more. Don't forget about some who need to run off of solar or wind power where every watt is valuable.Then install BIND. I dont know what power costs in Spain, but running a PC with bind should run you more than about $1USD/month. Expensive battery backups? $300 USD will buy you a backup that will run a standard PC for over an hour.
Now that $300 battery backup might keep it running for an hour, but if you're running a serious ISP, you probably want a lot more than 60 minutes of uptime. While my small towers may only have 2 hours of uptime, I make sure my main tower and servers can run at least 18, and I'm working to get that up to 36 hours when I get a chance to install a second battery. For that kind of uptime, we're now talking about thousands or tens of thousands of dollars for batteries or generators to keep your network online. A routerboard at about 5 watts of consumption will cost a lot less to keep running in an outage, and my $500 battery backup system can now keep my network up for a day and a half.
Also take into account that you typically have a much higher up-front cost for a computer than a routerboard, $500-$1000 for a high grade reliable computer (you don't want to skimp because a DNS server failure would bring your whole network to it's knees). I'm sure a 450G for around $100 including a case and power supply is powerful enough to run quite a snappy DNS server, and it would be much less prone to component failure than a regular PC.
My 2 cents...
Yeah, this has gone off topic from the specific problem. While not directly related to the original topic, it still would be nice to have a little more dns functionality than what is currently offered.MT has a DNS caching package. It just doesnt work with ONE provider.
Depends, electricity costs much more in some countries, and like we discussed, there can be a heck of a lot more to the cost of a server than just the electricity. Plus, we're talking about reliability too, not pure costs.Sorry. I forgot to carry a 1 when multiplying the power consumption. Regardless. It isnt a big deal. Cheap is cheap.
I lease my servers from a real datacenter, but there are many other services available. Once I grow large enough, I will probably move my email over to Google apps. There's nothing saying that an ISP has to offer email or web sites in the first place, so a DNS server could be the only "real" server that is required for the network to be operational.Where do you run your mail servers, webpages, etc, etc, etc.
Making static entries for domains that you are not authoritive for is the beginning of the end. You break a system that has proven to work for 30 years.Hi.
I still having DNS problems but not with google, i made static entries and everithing it´s working ok, now the problems is with es.search.yahoo.es
I made the same procedure to fix it, add stratic entrie but no luck.
Any idea?
Thnks
Making static entries for domains that you are not authoritive for is the beginning of the end. You break a system that has proven to work for 30 years.Hi.
I still having DNS problems but not with google, i made static entries and everithing it´s working ok, now the problems is with es.search.yahoo.es
I made the same procedure to fix it, add stratic entrie but no luck.
Any idea?
Thnks
What is your DNS config and what does dig or nslookup show?
cheers,
Nick.
First DNS Server 8.8.8.8Sure looks like the same problem. What is your DNS config, which servers are you using?
Also, what does a dig/nslookup tell you about es.yahoo.es ?
cheers,
Nick.
Same here. No problems using Google's Public DNS service. Wasn't worth my time to keep fighting to find the problem.I gave up on OpenDNS