LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 01:52 PM   #1
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Rep: Reputation: 15
Linux Firewall Server (Proxy) - DNS issue


Hello all,

I have a proxy server set up here with a firewall. Traffic from this proxy is functioning fine except for 1 specific website (internal). It was working fine and out of no where, it stopped functioning from the proxy server. If I use another proxy server, I can access it fine and both proxies look at the same dns server for resolution.

When I try to access the site via IE, it gives me the following error message from the proy server.

Unable to determine ip address from host name for example.com.

The dnsserver returned

Name error: The domain name does not exist.

The dns server entries are fine b/c it works fine from the other proxy.

Is there any way I can configure this server for name resolution on this specific address? This server is not on the lan or dmz, it's external.

Any help would be appreciated, thanks.
 
Old 05-14-2007, 02:03 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
are you sure that the working proxy doesn't have an entry for the site in its /etc/hosts file??
 
Old 05-14-2007, 02:28 PM   #3
ddzc
Member
 
Registered: Oct 2003
Location: T.O
Distribution: SunOS 10
Posts: 97

Original Poster
Rep: Reputation: 15
no it doesen't.

I also tried editing the /etc/hosts file on the proxy server that is not working. I put the entry for the website that is not working but no luck. When I ping from the proxy server, it's attempting to find the I.P address from a public address so it will never find the system.
 
Old 05-14-2007, 03:52 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by ddzc
I also tried editing the /etc/hosts file on the proxy server that is not working. I put the entry for the website that is not working but no luck. When I ping from the proxy server, it's attempting to find the I.P address from a public address so it will never find the system.
that's weird, /etc/hosts should get checked first, like:
Code:
root@candystore:~# ping -c1 linuxquestions.org
PING linuxquestions.org (64.179.4.146) 56(84) bytes of data.
64 bytes from web2.linuxquestions.org (64.179.4.146): icmp_seq=1 ttl=53 time=79.6 ms

--- linuxquestions.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 79.684/79.684/79.684/0.000 ms
root@candystore:~# echo "192.168.123.123  linuxquestions.org" >> /etc/hosts
root@candystore:~# ping -c1 linuxquestions.org
PING linuxquestions.org (192.168.123.123) 56(84) bytes of data.

--- linuxquestions.org ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
i'm not really sure why your box wouldn't behave like above... =/

Quote:
Originally Posted by ddzc
If I use another proxy server, I can access it fine and both proxies look at the same dns server for resolution.
wait, is the working proxy on a separate network location or is it a drop-in replacement you did with the same IP and everything as the non-working one??

Last edited by win32sux; 05-14-2007 at 04:57 PM.
 
Old 05-14-2007, 03:54 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Moved: This thread is more suitable in Linux - Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Server as firewall and proxy. fiomba Linux - Security 2 11-16-2005 06:24 AM
Which Firewall, Proxy, DHCP, DNS and Email server package would you recommend? davidas Linux - Software 3 04-14-2004 04:24 AM
Linux Server software recommendations firewall proxy email fax etc motiv8d Linux - Software 2 11-23-2003 12:38 PM
Simple proxy/firewall server scammeh^ Linux - Networking 3 10-15-2003 01:11 PM
howto create linux partitions on 80GB HD DNS / Proxy server ? cccc Linux - Networking 5 10-11-2003 01:32 AM


All times are GMT -5. The time now is 06:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration