Community discussions

MikroTik App
 
amjadayub
just joined
Topic Author
Posts: 12
Joined: Sat Feb 16, 2019 7:52 am

DNS issue on CCR2116 with ROS v7.1.5

Thu Mar 31, 2022 10:35 pm

Just purchased new Router CCR2116. Facing DNS resolving issue. When pinging any IP then it's ok if ping any website following error occurred.
[admin@MikroTik] > ping google.com
invalid value for argument address:
    invalid value of mac-address, mac address required
    invalid value for argument ipv6-address
    while resolving ip-address: could not get answer from dns server

[admin@MikroTik] > ping 8.8.8.8
  SEQ HOST                                     SIZE TTL TIME       STATUS        
    0 8.8.8.8                                    56 115 96ms647us 
    1 8.8.8.8                                    56 115 96ms68us  
    2 8.8.8.8                                    56 115 96ms558us 
    3 8.8.8.8                                    56 115 96ms425us 
    4 8.8.8.8                                    56 115 96ms769us 
    sent=5 received=5 packet-loss=0% min-rtt=96ms68us avg-rtt=96ms493us 
   max-rtt=96ms769us 

[admin@MikroTik] > ping google.com
invalid value for argument address:
    invalid value of mac-address, mac address required
    invalid value for argument ipv6-address
    while resolving ip-address: could not get answer from dns server
    
    
[admin@MikroTik] > export hide-sensitive
# jan/03/1970 09:27:44 by RouterOS 7.1.5
# software id = 0C94-VF05
#
# model = CCR2116-12G-4S+
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=pool1 ranges=192.168.88.1-192.168.88.254
/port
set 0 name=serial0
/ppp profile
set *0 local-address=192.168.88.1 remote-address=pool1
/ipv6 settings
set forward=no
/interface pppoe-server server
add authentication=pap,chap disabled=no interface=ether2 one-session-per-host=\
    yes service-name=service1
/ip address
add address=192.168.88.1/24 comment=defconf interface=ether2 network=\
    192.168.88.0
add address=110.39.16.235/27 interface=sfp-sfpplus1 network=110.39.16.224
/ip dhcp-client
add interface=ether2
/ip dns
set servers=8.8.8.8,8.8.4.4
/ip firewall filter
add action=accept chain=input comment=\
    "defconf: accept established,related,untracked" connection-state=\
    established,related,untracked
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\
    110.39.16.225 pref-src=110.39.16.235 routing-table=main scope=30 \
    suppress-hw-offload=no target-scope=10
add disabled=no distance=1 dst-address=8.8.8.8/32 gateway=110.39.16.225 \
    pref-src=0.0.0.0 routing-table=main scope=30 suppress-hw-offload=no \
    target-scope=10
/ip service
set telnet disabled=yes
set ftp disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/ppp secret
add name=amjadayub2 service=pppoe
[admin@MikroTik] > 
Please help to solve this issue.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 18 guests