Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: Hard coded DNS settings for plugin download / software updates?

  1. #16

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    Quote Originally Posted by birdman View Post
    Why not just configure the box to use those cacheing resolvers instead?
    Then the request to 8.8.8.8 will get to Google.
    Intercepting queries when you can direct them at source seems a little perverse.
    If you mean my E2 machine, that does not live on my main network it lives on a VLAN where all the hosts on that particular network route out via a VPN (in my case Nord). The E2 machine needs to use Nords DNS servers, pointing it at my own defeats the purpose as that DNS config will leak. So that will never fly I'm afraid, what with the whole point of setting it up like this being anonymity.

    Yes, on my main LAN I do redirect any queries to google public DNS to my own servers, but that isn't influencing what is going on here in any way. It may seem perverse to you, but as I said in my original post I do this for a valid reason. There is no control of DNS settings on google devices (they ignore what is given to them via DHCP/SLAAC and always use google public DNS), I have a requirement for them to use my DNS servers first.

    Besides, from looking at the openvix code this isn't really a "DNS" issue as such. There are no lookups involved, it is just the internet connectivity check connects to 8.8.8.8 on port 53. I'm just pointing out that there are possible scenarios where this won't work.

    I will leave it at that as in my case I can (and have) fix it on my router.

  2. #17
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,800
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Morini View Post
    The E2 machine needs to use Nords DNS servers, pointing it at my own defeats the purpose as that DNS config will leak. So that will never fly I'm afraid, what with the whole point of setting it up like this being anonymity.
    Thanks for the explanation.

    Besides, from looking at the openvix code this isn't really a "DNS" issue as such. There are no lookups involved, it is just the internet connectivity check connects to 8.8.8.8 on port 53. I'm just pointing out that there are possible scenarios where this won't work.
    It's a simple check for "can I get out to an external system on the Internet?". Difficult to thing of a totally generic one that can't be defeated by any end-user set-up.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  3. #18

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    Quote Originally Posted by birdman View Post
    Difficult to thing of a totally generic one that can't be defeated by any end-user set-up.
    This is very true.

  4. #19
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,365
    Thanks
    6,445
    Thanked 9,160 Times in 6,235 Posts
    Or provide an option for people to set a different IP.

  5. The Following User Says Thank You to abu baniaz For This Useful Post:

    Morini (24-03-24)

  6. #20
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,633
    Thanks
    2,007
    Thanked 4,957 Times in 3,276 Posts
    Quote Originally Posted by abu baniaz View Post
    Or provide an option for people to set a different IP.
    The ip should be the feeds address like it always was because the check is only related to the feeds.
    Help keep OpenViX servers online.Please donate!

  7. #21
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,365
    Thanks
    6,445
    Thanked 9,160 Times in 6,235 Posts
    Agreed. But if the connectivity checks is for other functions, then openvix being temporary down, eg server upgrades, should not result in receiver thinking that it has no internet access.

  8. The Following User Says Thank You to abu baniaz For This Useful Post:

    Huevos (24-03-24)

  9. #22
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,633
    Thanks
    2,007
    Thanked 4,957 Times in 3,276 Posts
    That check is used in online update and plugin browser only.
    Help keep OpenViX servers online.Please donate!

  10. The Following User Says Thank You to Huevos For This Useful Post:

    abu baniaz (24-03-24)

  11. #23

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    Sorry to resurrect this thread again, but I can't download plugins today. I've checked via ssh the box is connected to the internet and it can reach 8.8.8.8 port 53

    Code:
    root@gbue4k:~# nslookup www.cloudflare.com 8.8.8.8
    Server:         8.8.8.8
    Address:        8.8.8.8:53
    
    Non-authoritative answer:
    Name:   www.cloudflare.com
    Address: 2606:4700::6810:7c60
    Name:   www.cloudflare.com
    Address: 2606:4700::6810:7b60
    
    Non-authoritative answer:
    Name:   www.cloudflare.com
    Address: 104.16.124.96
    Name:   www.cloudflare.com
    Address: 104.16.123.96
    A packet capture isn't giving any clues as to why the check thinks my box isn't connected to the internet. Any ideas?

  12. #24
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,423
    Thanks
    997
    Thanked 2,895 Times in 2,248 Posts
    Quote Originally Posted by Morini View Post
    Sorry to resurrect this thread again, but I can't download plugins today. I've checked via ssh the box is connected to the internet and it can reach 8.8.8.8 port 53

    Code:
    root@gbue4k:~# nslookup www.cloudflare.com 8.8.8.8
    Server:         8.8.8.8
    Address:        8.8.8.8:53
    
    Non-authoritative answer:
    Name:   www.cloudflare.com
    Address: 2606:4700::6810:7c60
    Name:   www.cloudflare.com
    Address: 2606:4700::6810:7b60
    
    Non-authoritative answer:
    Name:   www.cloudflare.com
    Address: 104.16.124.96
    Name:   www.cloudflare.com
    Address: 104.16.123.96
    A packet capture isn't giving any clues as to why the check thinks my box isn't connected to the internet. Any ideas?
    Anything in debug log when you try to download?
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  13. #25

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    Quote Originally Posted by twol View Post
    Anything in debug log when you try to download?
    Where do I find that?

  14. #26
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,633
    Thanks
    2,007
    Thanked 4,957 Times in 3,276 Posts
    Quote Originally Posted by Morini View Post
    Where do I find that?
    In System menu, set up debug logs. Then simulate the problem and afterwards download the log from the box.
    Help keep OpenViX servers online.Please donate!

  15. #27

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    I am getting connection refused

    < 49.771711> [OnlineUpdateCheck][adapterAvailable] PASSED
    < 49.772510> [OnlineUpdateCheck][NetworkUp] FAILED <class 'ConnectionRefusedError'>

    I don't really understand why though as the box can reach 8.8.8.8 and I'm getting answers to DNS lookups as well.

  16. #28

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    And suddenly it's started working. I went to turn the debug logging off and the box restarted the gui. Went to give it one last go and it's all fine.

    I have no clue what's going on here?

  17. #29
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,423
    Thanks
    997
    Thanked 2,895 Times in 2,248 Posts
    Quote Originally Posted by Morini View Post
    And suddenly it's started working. I went to turn the debug logging off and the box restarted the gui. Went to give it one last go and it's all fine.

    I have no clue what's going on here?
    Debug logs : I run with debug logs all the time, and it has no impact on my wifes viewing - so not a big overhead.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

  18. #30

    Title
    Forum Supporter
    Donated Member
    Join Date
    Dec 2010
    Posts
    61
    Thanks
    11
    Thanked 5 Times in 4 Posts
    Quote Originally Posted by twol View Post
    Debug logs : I run with debug logs all the time, and it has no impact on my wifes viewing - so not a big overhead.
    Ah, ok, that's good to know. Next time I need to turn it on I will leave it on. I can't really tinker any more at the moment as the family are watching TV.

    As to this weird unexplained failed internet connectivity check, I'm going to bury my head in the sand and pretend it never happened!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.