LinuxQuestions.org
Review your favorite Linux distribution.
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 08-23-2012, 05:51 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
Web browsers cannot open the local web servers?


I use debian wheezy with dnsmasq and apache2 as dns and web servers, i have local domains for local web servers that was working ok, but since few days when i want to open the local web server, web browser is asking from the upstream dns nameservers to resolve the address and apparently this fail this is the result of nslookup for the local domain:
Quote:
# nslookup example.dynet.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: example.dynet.com
Address: 192.168.1.1
but cannot ping the local domain:
Quote:
# ping example.dynet.com
PING example.dynet.com (192.168.1.1) 56(84) bytes of data.
From 58.27.222.13 icmp_seq=2 Packet filtered
From 58.27.222.13 icmp_seq=8 Packet filtered
^C
--- example.dynet.com ping statistics ---
55 packets transmitted, 0 received, +2 errors, 100% packet loss, time 63442ms
any idea pleas?
 
Old 08-23-2012, 07:31 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by shams View Post
(..) was working ok, but since few days (..) web browser is asking from the upstream dns nameservers to resolve the address (..)
any idea pleas?
So what changed configuration-wise between "was working ok" and "since few days"?
 
Old 08-23-2012, 10:27 AM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,937

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
http://homepage.ntlworld.com/jonatha...t-to-ping.html
 
Old 08-23-2012, 10:36 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well-spotted!
 
Old 08-24-2012, 12:14 AM   #5
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
thanks for the replies the tor was installed and was desabled i enabled that but now it is completely removed and i still cannot ping the local domain.
The new thing i just found is i use the resolveconf with dnsmasq, the file "/var/run/dnasmasq/resolv.conf" is empty that was not empty before. the main "/etc/resolv.conf" is configured for the local nameserver 127.0.0.1 and there is two more files /etc/resolv.dnsmasq for the upstream nameservers and /etc/hosts.dnsmasq for the local domains which is:
Quote:
127.0.0.1 localhost
192.168.1.1 debian.example.net example.net example.dynet.com example.linkpc.net
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
this part of dnsmasq.conf is configured as:
Quote:
# Add other name servers here, with domain specs if they are for
# non-public domains.
#server=/localnet/192.168.0.1
server=208.67.222.123
server=208.67.222.222
server=208.67.220.220
I was thinking if this is the problem of this part of dnsmasq.conf so i removed the above name servers but the new problem i get even then cannot ping the global net is well and not the loal domains is before.

Last edited by shams; 08-24-2012 at 12:43 AM.
 
  


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
web browsers try to open PHP files in gedit digital_citizen Linux - Newbie 2 07-06-2008 12:50 PM
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
any open web irc servers dublinclontarf Linux - Networking 2 07-23-2004 09:16 AM
adding more web servers to make web server farm linuxboy69 Linux - Networking 5 07-09-2004 09:50 AM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration