LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-23-2004, 07:35 AM   #1
adengua
Member
 
Registered: Oct 2003
Posts: 32

Rep: Reputation: 15
common DNS resolve problem


dear members

it seems these a common problem here we need some one to help cleary it

I am running BIND it working well
i am able to connect to my website and webmail from the internet
by http//www.domain.com

BUT when i try to connect to http//www.domain.com on any PC from my network
i can not access my website and webmail....

I have 3.com firewall my IP is 192.168.0.5 NAT 195.168.44.16
i have a router with 192.168.0.10 NAT 195.168.44.19
gateway 192.168.0.253

more information

when type my external IP(195.168.44.16) from any PC outside my LAN i can access the website

when type my internal IP(192.168.0.5) IP from any PC inside my LAN i can access the website but when i type 195.168.44.16 OR http//www.domain.com i cannot access my website

any help please

Last edited by adengua; 03-23-2004 at 07:37 AM.
 
Old 03-23-2004, 08:13 AM   #2
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
Have you edited /etc/resolv.conf on your other machines so they are using your BIND server as DNS server?
 
Old 03-23-2004, 08:45 AM   #3
adengua
Member
 
Registered: Oct 2003
Posts: 32

Original Poster
Rep: Reputation: 15
/etc/resolv.conf

but the other local network PC are runing windows...

and on their primary and secondary DNS options
i have ip like these 212.156.4.1 and 212.156.4.20 ...since we are using leased line to connect to internet we this IP's without them we can not connect to internet....
 
Old 03-23-2004, 08:59 AM   #4
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
You could always edit their hosts file to point www.domain.com to your server. Windows also has a host file like linux tho i cant remember where it is. Somewhere in the windows directory
 
Old 03-23-2004, 12:17 PM   #5
plythgam
Member
 
Registered: Mar 2003
Location: Greenville, NC
Distribution: Fedora core 4
Posts: 31

Rep: Reputation: 15
hosts file in windows is located at

windows XP
c:\windows\system32\drivers\etc\hosts

for windows 2000 and nt i think the above windows is replaced by winnt
 
Old 03-25-2004, 01:49 AM   #6
adengua
Member
 
Registered: Oct 2003
Posts: 32

Original Poster
Rep: Reputation: 15
i replaced the primary dns

i replaced the primary dns 212.156.4.1 with the local IP(192.168.0.5) of the machine hosting the DNS
Now it works thanks thanks alot
 
  


Reply



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
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Can't resolve DNS issues. Am I using the right ones? A6Quattro Linux - Networking 6 07-15-2005 08:59 PM
FC2 DNS domain resolve problem flump Linux - Networking 2 08-14-2004 02:35 PM
Fedora Core 2 - Problem with Cable connection (DNS Resolve) T-u-N-i-X Linux - Networking 2 06-18-2004 01:11 PM
Nslookup cannot resolve DNS..what is the problem??? cpinyit Linux - Networking 1 03-01-2002 09:00 PM

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

All times are GMT -5. The time now is 09:30 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