SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000870ClearOSapp-dns - DNS Serverpublic2012-12-05 03:452019-04-15 07:38
ReporterNickH 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version6.3.0 Updates 
Target VersionFixed in Version 
Summary0000870: Local DNS lookups go out to the internet
DescriptionWhen monitoring my OpenDNS log I saw a lot of DNS queries with howitts.lan at the end of the URL going out to OpenDNS. howitts.lan is my internal LAN so queries should not go out into the internet. Please see this thread: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,28/func,view/id,33723/#33723. [^]

I fixed mine by adding the following to /etc/dnsmasq:
local=/howitts.lan/

You may also need to add 127.0.0.1 to resolv.conf (which I use anyway)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000683)
user2
2013-02-02 12:12

Note to devs: please verify with Samba 4 implementation
(0010411)
NickH (developer)
2019-03-05 04:53

Note this can give issues if you use the same domain on your LAN as your public domain and you may then need to set up extra riles for things like domainkeys to resolve correctly if you still want to pick up the value from your external DNS. As an example, I now have:

local=/howitts.co.uk/
# Allow domainkey queries out to the external DNS provider
local=/_domainkey.howitts.co.uk/#

To allow me to set and validate my domainkey externally.
(0011481)
NickH (developer)
2019-04-15 07:38

Migrated to: https://gitlab.com/clearos/clearfoundation/app-dns/issues/2 [^]

- Issue History
Date Modified Username Field Change
2012-12-05 03:45 NickH New Issue
2012-12-05 08:41 user2 Status new => confirmed
2013-02-02 12:12 user2 Note Added: 0000683
2019-03-05 04:50 NickH Description Updated View Revisions
2019-03-05 04:53 NickH Note Added: 0010411
2019-04-15 07:38 NickH Note Added: 0011481
2019-04-15 07:38 NickH Status confirmed => closed
2019-04-15 07:38 NickH Resolution open => suspended

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7