[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
FREESCO Support • View topic - Using the internal DNS

Using the internal DNS

Support section for FREESCO v0.4.x

Using the internal DNS

Postby bec » Mon Apr 21, 2014 2:04 am

Hi,
I've been playing with the internal DNS and can't figure out how it works. I have added entries for 2 devices: wpad (192.168.101.1 - the router) and printer (192.168.101.241)

When I do an nslookup on the Freesco box for wpad or printer it resolves, but wpad.inet and printer.inet fail. When I nslookup from a PC I get the same.

In the router logs I see this:
Apr 21 16:56:18 - dnsmasq[22423]: /etc/hosts 192.168.101.1 is router
Apr 21 16:56:18 - dnsmasq[22423]: /etc/hosts 192.168.101.1 is wpad
Apr 21 16:56:18 - dnsmasq[22423]: query wpad.inet from 192.168.101.60
Apr 21 16:56:18 - dnsmasq[22423]: cached wpad.inet is <NXDOMAIN>-IPv4
Apr 21 16:56:18 - dnsmasq[22423]: query wpad.inet from 192.168.101.60
Apr 21 16:56:18 - dnsmasq[22423]: forwarded wpad.inet to 198.142.235.14
Apr 21 16:56:18 - dnsmasq[22423]: query wpad.inet from 192.168.101.60
Apr 21 16:56:18 - dnsmasq[22423]: cached wpad.inet is <NXDOMAIN>-IPv4
Apr 21 16:56:18 - dnsmasq[22423]: query wpad.inet from 192.168.101.60
Apr 21 16:56:18 - dnsmasq[22423]: forwarded wpad.inet to 198.142.235.14

What have I missed?

The version is 0.4.3, I could upgrade, but it is a HDD installation and I forget all the customisations I have to carry over, so was hoping to solve it here.

I do have the Hosts package installed, not sure if this complicates things.

Thanks for your interest and help

Brian
You do not have the required permissions to view the files attached to this post.
User avatar
bec
Member
 
Posts: 68
Joined: Sat Jun 29, 2002 8:37 am
Location: Melbourne, Australia

Re: Using the internal DNS

Postby Lightning » Mon Apr 21, 2014 9:38 am

Double check your configuration in the /etc/dns.cfg file and make sure that you have an entry like this

192.168.xx.xx <TAB> wpad <TAB> wpad.inet

Then use

rc_dns restart

If you make changes to the /etc/dnbs.cfg file make sure to copy it to the /boot/etc/ directory to survive a reboot. However if this is all correct I can tell you how to modify the rc_dns script to the 0.4.5 version and probably resolve this issue.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12081
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Using the internal DNS

Postby bec » Tue Apr 22, 2014 7:47 am

You do not have the required permissions to view the files attached to this post.
User avatar
bec
Member
 
Posts: 68
Joined: Sat Jun 29, 2002 8:37 am
Location: Melbourne, Australia

Re: Using the internal DNS

Postby Island » Tue Apr 22, 2014 10:45 am

User avatar
Island
Junior Advanced Member
 
Posts: 117
Joined: Sat Jan 22, 2005 12:48 pm

Re: Using the internal DNS

Postby Lightning » Tue Apr 22, 2014 11:15 am

If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12081
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Using the internal DNS

Postby bec » Wed Apr 23, 2014 5:19 am

User avatar
bec
Member
 
Posts: 68
Joined: Sat Jun 29, 2002 8:37 am
Location: Melbourne, Australia

Re: Using the internal DNS

Postby Island » Wed Apr 23, 2014 6:53 am

bec, I've got a very similar problem, and I am interesed in the solution. Before Lewis answers, might you be able to post the (relevant) content of both

/etc/dns.cfg

and

/boot/etc/dns.cfg

so that there can be no doubt that the data contents are correct, and are 'in view' of dnsmasq, as it were? That then would seem to suggest there is some other factor at issue.

regards, Island
User avatar
Island
Junior Advanced Member
 
Posts: 117
Joined: Sat Jan 22, 2005 12:48 pm

Re: Using the internal DNS

Postby Lightning » Wed Apr 23, 2014 11:03 am

If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12081
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Using the internal DNS

Postby bec » Thu Apr 24, 2014 5:17 pm

User avatar
bec
Member
 
Posts: 68
Joined: Sat Jun 29, 2002 8:37 am
Location: Melbourne, Australia

Re: Using the internal DNS

Postby Lightning » Thu Apr 24, 2014 11:46 pm

If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12081
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to FREESCO Support for v0.4.x

Who is online

Users browsing this forum: No registered users and 3 guests

cron