Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Re: Not getting local DNS to work properly

$
0
0

Hello I´m kind of new with Ubiquiti equipment, I have running now a ERPOE5 running 1.8.5 in my home enviorment, so far everything is running nice, but I have an issue that I will explain and I hope someone can help me.

I have 2 LANs

Internet Eth0-->connected directly to my ISP (Fiber to RJ45)

Local2 Eth1 (not in use I will keep this for my ow test enviorment 192.168.2.0/24)

Local1 Eth2,3,4 (Switch0) 192.168.1.0/24 DHCP from 100-249

 

i´m using OPENDNS in the Router

 

This is my example:

 

I do not have or use domain in my home network (its a very simple network so far)

This is the List of my devices:

Router: 192.168.1.1

Synology DS212 (static 192.168.1.2)

UAP-AC-PRO (static 192.168.1.3)

Dlink IPCam (static 192.168.1.4)

ToughSwitch8 (static 192.168.1.250)

 

then the rest of my devices running in DHCP

MARIO-WS (DHCP 192.168.1.101) this is my Desktop Running Win 10

 

Now my issue:

The router cannot ping any of my devices in my LAN using the hostname

 I connect via Putty / cli (gui) and do a ping MARIO-WS

 

 

admin@EdgeRouter-PoE:~$ ping MARIO-WS
ping: unknown host MARIO-WS

 

admin@EdgeRouter-PoE:~$ ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_req=1 ttl=64 time=0.410 ms
64 bytes from 192.168.1.101: icmp_req=2 ttl=64 time=0.275 ms
64 bytes from 192.168.1.101: icmp_req=3 ttl=64 time=0.419 ms
64 bytes from 192.168.1.101: icmp_req=4 ttl=64 time=0.453 ms
--- 192.168.1.101 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.275/0.389/0.453/0.069 ms

 

It is exactly the same with all my Devices if I try to ping by hostname

 

This is my show dhcp leases from the Router

 

show dhcp leases
IP address Hardware Address Lease expiration Pool Client Name
---------- ---------------- ---------------- ---- -----------
192.168.1.101 f4:6d:04:97:e3:a9 2016/07/10 18:58:49 LAN1Local MARIO-WS
192.168.1.102 24:df:6a:4c:c7:11 2016/07/10 18:03:47 LAN1Local android-460714babec4ff04
admin@EdgeRouter-PoE:~$

 

Then from my PC it works fine can resolve Hostname:

 

C:\Users\mario>ping mario-ws

Pinging MARIO-WS [192.168.1.101] with 32 bytes of data:
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

 

I laready did this stills not working

set service dns forwarding name-server 208.67.222.222
set service dns forwarding name-server 208.67.220.220
delete system name-server
set system name-server 127.0.0.1
commit

I hope someone can help me to make this works.

I´m attaching my confi.boot (i just remove the encrypted password the rest is unmodified) 

 

Best Regards

Mario

 

 


Viewing all articles
Browse latest Browse all 60861

Trending Articles