Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-19-2012, 11:16 PM
|
#1
|
LQ Newbie
Registered: May 2012
Posts: 5
Rep: 
|
DNS and Gateway Setting
Hi Guys,
I have a problem with setting DNS and Default Gateway settings on my Network,
----------------------
ADSL Router (LAN IP: 192.168.1.1)
Dynamic WAN IP and DNS for Internet
DHCP Enable
------------------
Win 2003 Server
IP : 192.168.1.254
Local DNS Install
Intranet ( http://MyHome.abc) running on IIS
------------------
PC's on LAN
Get IPs from Router DHCP
With this setup, i cannot view my Intranet on others PC (can view only giving Ip address)
so my requirement is to view my intranet as well as the internet from all PC's without changing settings on individual PC on the network.
Pls help me
Thanks
|
|
|
05-19-2012, 11:45 PM
|
#2
|
Member
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205
Rep:
|
Basically there are two ways to achieve this.
One is to use "hosts" file on each machine. On each machine write the names and the IPs of all other machines (or just one entry for the server.)
The other one is to run a name server (aka bind server). It does not matter which machine is running the name server, but the router running the DHCP server has to distribute the name server entry to the clients when clients ask for configuration.
|
|
|
05-20-2012, 12:11 AM
|
#3
|
LQ Newbie
Registered: May 2012
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by uhelp
Basically there are two ways to achieve this.
One is to use "hosts" file on each machine. On each machine write the names and the IPs of all other machines (or just one entry for the server.)
The other one is to run a name server (aka bind server). It does not matter which machine is running the name server, but the router running the DHCP server has to distribute the name server entry to the clients when clients ask for configuration.
|
Hi thanks for u r help.
Definitely i dont want to go for the 1st option
Ok, in second option, i have implement DNS on Win2003 server, if i change DNS Setting on router, how can i go to Internet? there is no option to set Name Server on the Router (Netgear CD 3100)
|
|
|
05-20-2012, 12:13 AM
|
#4
|
Member
Registered: May 2012
Posts: 426
Rep: 
|
If you have DNS locally installed on that 2003 box then I would create a zone for the 192.168.1.x network and get your internal LAN PC's to look at 192.168.1.254 (Win 2003 box) and they should find your IIS server - you may have to add DNS entries on DNS server manually for your Linux machines. Also add a forwarder in your 2003 DNS server to send unresolved DNS requests out to your ISP's DNS servers to resolve Internet IP addresses.
It's been a while since I administered a Windows 2003 server but this should set you up, or thereabouts.
|
|
|
05-20-2012, 12:44 AM
|
#5
|
LQ Newbie
Registered: May 2012
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by nixblog
If you have DNS locally installed on that 2003 box then I would create a zone for the 192.168.1.x network and get your internal LAN PC's to look at 192.168.1.254 (Win 2003 box) and they should find your IIS server - you may have to add DNS entries on DNS server manually for your Linux machines. Also add a forwarder in your 2003 DNS server to send unresolved DNS requests out to your ISP's DNS servers to resolve Internet IP addresses.
It's been a while since I administered a Windows 2003 server but this should set you up, or thereabouts.
|
ok, thank you very much., i change DNS on PC to win2003 box add, looks like its working, i have to chek my linux box now
Thanks
|
|
|
05-20-2012, 12:49 AM
|
#6
|
LQ Newbie
Registered: May 2012
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by Sudintha
ok, thank you very much., i change DNS on PC to win2003 box add, looks like its working, i have to chek my linux box now
Thanks
|
oh!!. when i change that in resolv.conf and restart network service, again its been cchange by the networkmanager to original name server settings. how can i change that?
|
|
|
05-20-2012, 01:34 AM
|
#7
|
LQ Newbie
Registered: May 2012
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by Sudintha
oh!!. when i change that in resolv.conf and restart network service, again its been cchange by the networkmanager to original name server settings. how can i change that?
|
He everyone,
Thanks now its working
Thank you
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|