Author Topic: Get used upsream DNS server  (Read 5642 times)

0 Members and 1 Guest are viewing this topic.

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Get used upsream DNS server
« Reply #25 on: October 15, 2017, 01:53:36 pm »
8.8.8.8 is Google. You trust Google more than you trust your ISP provided DNS?

I tend to avoid ISP servers in general. For comparison, my ISP does around 20ms faster on cache hit and ~70-100ms slower on cache miss compared to google, and there are of course those ISPs that do scummy things like DNS rewriting.

For IoT I'd just do "use DHCP DNS server as primary, 8.8.8.8 as fallback" if I'm contacting only external URLs.

For internal URLs (say for example your device have a configurable logging destination, or just have option for local controller)  it is a bit more complicated as you can't just use any external DNS because then no internal one will work. But then it's really the admin of device problem to provide stable DNS
"What the large print giveth, the small print taketh away."
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8142
  • Country: de
  • A qualified hobbyist ;)
Re: Get used upsream DNS server
« Reply #26 on: October 15, 2017, 02:15:45 pm »
For internal URLs (say for example your device have a configurable logging destination, or just have option for local controller)  it is a bit more complicated as you can't just use any external DNS because then no internal one will work. But then it's really the admin of device problem to provide stable DNS

The lightweight dnsmasq, which is used by a lot of devices, supports request forwarding for specific domains ;)
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8051
  • Country: gb
Re: Get used upsream DNS server
« Reply #27 on: October 15, 2017, 02:17:33 pm »
8.8.8.8 is Google. You trust Google more than you trust your ISP provided DNS?

... than the average consumer ISP? Fuck, yes.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8142
  • Country: de
  • A qualified hobbyist ;)
Re: Get used upsream DNS server
« Reply #28 on: October 15, 2017, 02:34:31 pm »
If I would be a really bad ISP playing games with DNS I'd also forward all DNS traffic for 8.8.8.8 to my resolvers >:D
 

Offline cdev

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: Get used upsream DNS server
« Reply #29 on: October 15, 2017, 04:06:52 pm »
You can set up your own caching internal DNS server for your own machines that looks to the root DNS servers for all the top level domains, validating all the returned queries with DNSSEC.

"unbound" for example lets you do that.

If I would be a really bad ISP playing games with DNS I'd also forward all DNS traffic for 8.8.8.8 to my resolvers >:D
"What the large print giveth, the small print taketh away."
 

Offline xani

  • Frequent Contributor
  • **
  • Posts: 400
Re: Get used upsream DNS server
« Reply #30 on: October 15, 2017, 04:55:12 pm »
Well Google is probably using the data from 8.8.8.8 to do all sorts of interesting analysis but I doubt they will maliciously rewriting it

For internal URLs (say for example your device have a configurable logging destination, or just have option for local controller)  it is a bit more complicated as you can't just use any external DNS because then no internal one will work. But then it's really the admin of device problem to provide stable DNS

The lightweight dnsmasq, which is used by a lot of devices, supports request forwarding for specific domains ;)
dnsmasq is really a great swiss-army-knife for home or small networks. Later versions even support TFTP serving so you can boot-from-network using only dnsmasq
 

Offline DimitriP

  • Super Contributor
  • ***
  • Posts: 1377
  • Country: us
  • "Best practices" are best not practiced.© Dimitri
Re: Get used upsream DNS server
« Reply #31 on: October 15, 2017, 08:09:20 pm »
8.8.8.8 is Google. You trust Google more than you trust your ISP provided DNS?

... than the average consumer ISP? Fuck, yes.

Anyone that tried to explain to their ISP that although the modem has an internet connection, can ping out using  IP addresses but the ISP's DNS is not resolving names:
A) Understands
B) No longer relies on the ISP's DNS

   If three 100  Ohm resistors are connected in parallel, and in series with a 200 Ohm resistor, how many resistors do you have? 
 

Offline hamdi.tnTopic starter

  • Frequent Contributor
  • **
  • Posts: 624
  • Country: tn
Re: Get used upsream DNS server
« Reply #32 on: October 15, 2017, 09:46:19 pm »
8.8.8.8 is Google. You trust Google more than you trust your ISP provided DNS?

... than the average consumer ISP? Fuck, yes.

Anyone that tried to explain to their ISP that although the modem has an internet connection, can ping out using  IP addresses but the ISP's DNS is not resolving names:
A) Understands
B) No longer relies on the ISP's DNS



I just checked my upstream DNS server at home and it's 8.8.8.8. So my ISP is giving this as a primary DNS server and the secondary is a local Tunisian server property of what called "Tunisian Internet Agency" i certainly trust google more than i trust this Agency.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf