Community discussions

MikroTik App
 
galileo
just joined
Topic Author
Posts: 4
Joined: Wed Jul 18, 2012 9:17 pm

Bugreport: dns does not use dinamicly set dns-es from dhcp

Mon Aug 13, 2012 1:08 pm

/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=8192 servers=""

/ip dns print 
                servers:
        dynamic-servers: 89.216.1.40,89.216.1.50
  allow-remote-requests: yes
    max-udp-packet-size: 8192
             cache-size: 2048KiB
          cache-max-ttl: 1w
             cache-used: 217KiB

/ip dns cache flush
ping google.com    
while resolving ip-address: could not get answer from dns server

/ip dns set servers=89.216.1.40,89.216.1.50
/ip dns print
                servers: 89.216.1.40,89.216.1.50
        dynamic-servers: 89.216.1.40,89.216.1.50
  allow-remote-requests: yes
    max-udp-packet-size: 8192
             cache-size: 2048KiB
          cache-max-ttl: 1w
             cache-used: 44KiB

/ping google.com
HOST                                     SIZE TTL TIME  STATUS                                                                                                                                               
173.194.70.101                             56  51 35ms
173.194.70.101                             56  51 36ms
    sent=2 received=2 packet-loss=0% min-rtt=35ms avg-rtt=35ms max-rtt=36ms


Mikrotik 750GL ver 5.19
I was surprised to see that there is no bugzila or other standard way to report bugs to mikrotik.
 
User avatar
greencomputing
Frequent Visitor
Frequent Visitor
Posts: 95
Joined: Wed Jun 23, 2010 1:12 pm
Location: Italy

Re: Bugreport: dns does not use dinamicly set dns-es from dh

Mon Aug 13, 2012 5:08 pm

Really interesting ... I tried the same test on a 532 miple equipped with RouterOs 5.19 but I was not able to reproduce your problem.
I'm becoming blind .. where is the difference ?


[greencomputing@dreamland] /ip dns cache> /system resource print 
                   uptime: 19m49s
                  version: 5.19
              free-memory: 11820KiB
             total-memory: 29584KiB
                      cpu: MIPS 4Kc V0.10
                cpu-count: 1
            cpu-frequency: 399MHz
                 cpu-load: 3%
           free-hdd-space: 69580KiB
          total-hdd-space: 126976KiB
  write-sect-since-reboot: 349
         write-sect-total: 377366
               bad-blocks: 0.4%
        architecture-name: mipsle
               board-name: RB532
                 platform: MikroTik
[greencomputing@dreamland] /ip dns cache> /ip dns print          
                servers: 
        dynamic-servers: 192.168.1.1
  allow-remote-requests: yes
    max-udp-packet-size: 512
             cache-size: 2048KiB
          cache-max-ttl: 1w
             cache-used: 13KiB
[greencomputing@dreamland] /ip dns cache> /ip dns cache flush
[greencomputing@dreamland] /ip dns cache> /ip dns cache print 
Flags: S - static 
 #   NAME                                                         ADDRESS                                                                          TTL         
 0 S voip.greencomputing.it                                          10.18.0.1                                                                   1d          
 1 S voip.greencomputing.it                                           172.20.29.160                                                            1d          
[greencomputing@dreamland] /ip dns cache> /ping google.com 
HOST                                     SIZE TTL TIME  STATUS                                                                                                               
173.194.35.32                              56  53 35ms 
173.194.35.32                              56  53 34ms 
173.194.35.32                              56  53 35ms 
173.194.35.32                              56  53 34ms 
    sent=4 received=4 packet-loss=0% min-rtt=34ms avg-rtt=34ms max-rtt=35ms 

[/size]
 
galileo
just joined
Topic Author
Posts: 4
Joined: Wed Jul 18, 2012 9:17 pm

Re: Bugreport: dns does not use dinamicly set dns-es from dh

Mon Aug 13, 2012 9:44 pm

max-udp-packet-size

I reverted to the default (512) and it works as expected.

Thanks
 
galileo
just joined
Topic Author
Posts: 4
Joined: Wed Jul 18, 2012 9:17 pm

Re: Bugreport: dns does not use dinamicly set dns-es from dh

Mon Aug 13, 2012 9:54 pm

Spoke too soon, I guess I didn't flush the cache.
Same thing with max-udp-packet-size=512

max-udp-packet-size

I reverted to the default (512) and it works as expected.

Thanks

Who is online

Users browsing this forum: Bing [Bot], contik, VMX, zozahun and 124 guests