Date: Tue, 09 Nov 2004 16:21:07 -0800 From: Drew Tomlinson <drew@mykitchentable.net> To: Niy@extacy.homeip.net Cc: questions@freebsd.org Subject: Re: DNS Cache Server Message-ID: <41915EF3.9030004@mykitchentable.net> In-Reply-To: <4f9c6b6d04110916015d07df95@mail.gmail.com> References: <4f9c6b6d04110916015d07df95@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms060808020707070003000607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 11/9/2004 4:01 PM NiY wrote: >Noticed the tread on a caching DNS server, and that brought up a >couple of questions I had. >I have a DNS server set up in my home. I have a FreeBSD 5.2.1 box >acting as my gateway, running ipfw and natd. It routes my one static >IP address from my DSL provider to a set of internal, unroutable IPs. >That part is working fine. Also on that box is a caching DNS server. >The internal IP for the gateway is 192.168.0.1. My problems are two >fold, and may or may not be related. > >1) I cannot, from either the gateway or any of the internal machines, >get DNS query responses from 192.168.0.1. I can get query responses >from 127.0.0.1 and the external IP address from the gateway, and I can >get query responses from the external IP from any of the internal >machines (well, partially. See below). > >2) When I do set up my FBSD 5.3 box inside the network with the >external IP of the gateway in resolv.conf, I can ping and nslookup DNS >names just fine. However, when I go to use Mozilla (Or any browser for >that matter), they hang on "Resolving host:". nslookup tells me it is >using my gateway as the DNS server, and never tells me it's switching >to another server for queries. > >Any ideas? > Are you running some sort of packet filter? If you are, I'd try turning it off and then see if you still have problems. If you do, then you know that you need to modify your rules to allow the traffic through the internal interface. HTH, Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com --------------ms060808020707070003000607 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH+TC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NVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMNES4wegYLKoZIhvcNAQkQ Agsxa6BpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5 KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQID DREuMA0GCSqGSIb3DQEBAQUABIGArY/UlSO+F3RpO6ndjuS9/etHHSG8Fi58DTj7q46BI9iU rBio6heqmuUSZ36fUZZnT8EPLYi/j5fvcxhgdYVNZ36OOlmylHxL5mxwo2v/aPMSSSdGtxy6 cV21eE5wC9YppN/cAZhxjfO8zrxiMzfOdor7S8w7LrelgnZuwB2CYyQAAAAAAAA= --------------ms060808020707070003000607--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41915EF3.9030004>