I've created a file called hosts.add and placed it in to the/ jffs/configs/ folder.
Its contents are:
127.0.0.1 svcs.myharmony.com
127.0.0.1 content.dhg.myharmony.com
127.0.0.1 logging.dhg.myharmony.com
127.0.0.1 myharmony.com
127.0.0.1 sus.dhg.myharmony.com
And I rebooted the router.
However I can still ping svcs.myharmony.com from my laptop and its not coming back with 127.0.0.1
I flushed the DNS and Registered it again on the Windows 10 laptop
Enable JFFS custom scripts and configs was already set to YES.
If I look in the /etc folder and the host file in there, my entries have been added OK to the host file:
127.0.0.1 localhost.localdomain localhost
192.168.1.1 router.asus.com
192.168.1.1
www.asusnetwork.net
192.168.1.1
www.asusrouter.com
192.168.1.1 RT-AC86U-BE20. RT-AC86U-BE20
127.0.0.1 svcs.myharmony.com
127.0.0.1 content.dhg.myharmony.com
127.0.0.1 logging.dhg.myharmony.com
127.0.0.1 myharmony.com
127.0.0.1 sus.dhg.myharmony.com
So why when I ping the myharmony domains does it still resolve to their public IP and not 127.0.0.1 ?
If I go to the router Admin page and Network Tools and use the Ping function in there, if I ping svcs.myharmony.com it does resolve to 127.0.0.1.
So have I blocked these domains or not? How will I know the Harmony hubs cannot access these domains ?
I would expect my laptop to also return 127.0.0.1 its WIFI connection is DHCP and its only DNS server is the router.
Rebooting the laptop makes no difference, my Windows server also is resolving their domain names to their public IPs and not 127.0.0.1.
C:\WINDOWS\system32>ping svcs.myharmony.com
Pinging prod-auto-lb-2-1658367766.us-east-1.elb.amazonaws.com [54.165.126.61] with 32 bytes of data:
Reply from 54.165.126.61: bytes=32 time=95ms TTL=241
Reply from 54.165.126.61: bytes=32 time=93ms TTL=241
Reply from 54.165.126.61: bytes=32 time=95ms TTL=241
Reply from 54.165.126.61: bytes=32 time=92ms TTL=241