Page 1 of 1

Internal Dns error

Posted: Thu Mar 05, 2009 9:00 pm
by Rhapsody01
Hi,

I bought a RB450 two weeks ago and i'm already loving it ^^.
I've successfully set up, 2 Wan interfaces with fail over, OpenVpn server + clients, and Qos.
Thanks to the Documentations and Wiki !

But i'm still a noob, and i have one question regarding Dns server on RouteurOs.
I have a static entry in Dns that don't work. Since my english is not very good, here's a screen :
http://img24.imageshack.us/my.php?image=dnserror.jpg
As you can see, Static entry "Server" is working but no "Dedibox".

Some informations :
Wan 1 (primary) : 192.168.2.0/24 -> Mikrotik 192.168.2.1
Wan 2 (backup) : 192.168.1.0/24 -> Mikrotik 192.168.1.66 (Yeah my dns reservation is no good on this screen)
Lan : 192.168.0.0/24 -> Mikrotik 192.168.0.254
OpenVpn : 192.168.88.0/24 -> Mikrotik 192.168.88.1

Remote dns request are allowed.

Dedibox host is a Vpn client, but that should not be a problem.

And the best for the end : From a pc on Lan :
-Ping dedibox : KO
-Nslookup dedibox : OK !!
-Ping 192.168.88.2 : OK

Do you guys have an idea ?
Thanks !

Re: Internal Dns error

Posted: Fri Mar 06, 2009 1:24 am
by Chupaka
well, it seems like ROS do not use local static DNS entries while resolving names for 'ping' command

Re: Internal Dns error

Posted: Fri Mar 06, 2009 1:52 am
by Rhapsody01
I don't have any local Dns server, so why should it work with "Server" and not "Dedibox" ?

Re: Internal Dns error

Posted: Fri Mar 06, 2009 10:50 am
by Chupaka
I tried to add different domain names to ROS DNS, and it cannot resolve them. I think, 'server' is your Windows machine name, and it's resolved via NetBIOS or something. Try to disconnect your ROS machine from the Server, reboot it and see whether 'Server' name works

Re: Internal Dns error

Posted: Fri Mar 06, 2009 12:13 pm
by Rhapsody01
Thanks for support !

Even if Ros does not use Dns statics records, Ros Dns server should use it for Dns request form clients on Lan !
What is really weird is that nslookup works, but not ping ! This behavior happens on all my Pc on Lan.
Before seting up Ros, i used to have an Ipcop firewall (linux based firewall) with internal Dns server, which worked like a charm.
Nothing changed but the firewall.

Is Ros Dns server stable ? Does anyone encounter the same behavior ?
I don't want to step up another dns server, since i don't have lots of records (Home use).

Anyway, thanks for help ;)

Re: Internal Dns error

Posted: Mon Mar 09, 2009 1:34 am
by Rhapsody01
Can someone help me ? :roll:

Re: Internal Dns error

Posted: Mon Mar 09, 2009 6:14 am
by omega-00
please make a supout.rif and send it over to mikrotik support
I've been seeing a similar dns problem but haven't been able to get enough info on it yet.

if we both send through info it should help them discover what the prob is :-)

Re: Internal Dns error

Posted: Mon Mar 09, 2009 11:07 am
by janisk
i have no problems with router resolving entry from /ip dns static

the only configuration is set primary and secondary dns, allow-remote-requests=no
add entry, and i can ping it without problems. no other place to resolve the entry but local dns cahce/dns static entry.
[admin@MikroTik] /ip dns static> print 
Flags: D - dynamic, X - disabled, R - regexp 
 #     NAME         ADDRESS                                        TTL         
 0     test       10.0.0.1                                     1d 
[admin@MikroTik] /ip dns> print 
            primary-dns: 10.5.50.1
          secondary-dns: 10.5.50.1
  allow-remote-requests: no
    max-udp-packet-size: 512
             cache-size: 2048KiB
          cache-max-ttl: 1w
             cache-used: 6KiB
[admin@MikroTik] /ip dns> /ping test
10.0.0.1 64 byte ping: ttl=63 time<1 ms
10.0.0.1 64 byte ping: ttl=63 time<1 ms
10.0.0.1 64 byte ping: ttl=63 time<1 ms
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0/0.0/0 ms
if you see other results - use latest version available.

Re: Internal Dns error

Posted: Mon Mar 09, 2009 4:14 pm
by Rhapsody01
I'm happy that your Dns are working ....

By the way, i already use the Lastest stable version of ROS (3.20).


omega-00 -> I'll send my config file to support, hope it will help.

Re: Internal Dns error

Posted: Wed Mar 11, 2009 11:21 am
by Chupaka
i have no problems with router resolving entry from /ip dns static

<...>

if you see other results - use latest version available.
yep, checked: with CLI all is working. but try to use WinBox: after successful ping from CLI WinBox says 'Error in Ping To - ip address expected!'. non-local names work fine