Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 357
  • Last Modified:

need 2 network settings for home and office

Hi,
one of the users in our office has a laptop that she uses to work from home and also at the office but for some reason we are having some issues with our dns server right now and if she uses the option to obtain ip address automatically which works for home but when at the office it only works if i change the dns server to 8.8.8.8.  Is there a way to create separate profiles so that when she signs in at the office she has a certain setup for the ip address and when she's home she would get ip automatically?  thanks.
0
dankyle67
Asked:
dankyle67
  • 10
  • 8
1 Solution
 
dmwynneCommented:
What about configuring your Dhcp at work to hand out 8.8.8.8 as DNS server until you get your DNS working properly?
0
 
dankyle67Author Commented:
oh thats a good idea.  Just concerned why the dns server doesnt work properly now.
0
 
dankyle67Author Commented:
Where would i find that section in dns server again to change setting to give out 8.8.8.8 as dns?
0
 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

 
dankyle67Author Commented:
Actually i meant in dhcp server
0
 
dankyle67Author Commented:
also, by changing to 8.8.8.8 for dhcp will this affect users or pcs as far as active directory?
0
 
dmwynneCommented:
I had assumed you knew and working on an issue with DNS server.  You should resolve that first before doing making a change.  Is there only one user impacted or is it everyone?
0
 
dankyle67Author Commented:
Well there is only one user affected since they are the only one who brings their laptop home and also uses it at office.  I saw in the dhcp server options that the dns server and name server options are both there and it is saying to use the current dns server which is on same server as dhcp which is the one we seem to be having issue with.  I can put the 8.8.8.8 into the dns server portion but was wondering the difference between name server and dns server since i thought they were the same.  When i run nslookup for instance and a machine is set to use 8.8.8.8 as dns server then thats what would come up after nslookup.
0
 
dmwynneCommented:
You do not want 8.8.8.8 as the DNS server for your clients so forget changing that option.

Name server is the predecessor to DNS servers and should not be used:

http://www.networksorcery.com/enp/ien/ien116.txt

http://www.experts-exchange.com/Networking/Windows_Networking/NT/Q_21059749.html

I wonder if you having name servers listed in Dhcp is the issue.  Do you need 005- Name server, it seems doubtful you do.  Maybe test taking that out and trying it.

I would not focus on how to configure the laptop for 2 locations but on why it is not able to work using Dhcp in both locations.  That is a common scenario and should work with little effort.
0
 
dankyle67Author Commented:
I agree that if i can get the dhcp to give correct dns server then that should take care of the laptop issue.  The first thing i need to do is to be able to resolve addresses on the dns server itself which is also the dhcp server.  In other words, currently if i try to ping yahoo.com on the dns server it wont work unless i enter 8.8.8.8 as alternate dns server.  Let me try your suggestion about removing 005-Name server first then will see if that works.
0
 
dmwynneCommented:
On the dns server how do you have forwarders and/or root hints setup?
0
 
dankyle67Author Commented:
Thats what i was gona get to actually.  This dns server is at a remote site and so is set up as active directory integrated and replicates from main office dns server.  In the forwarders what should i have as the entry/entries?  Currently there is no entry so i entered the ip address of the main dns server at the other office.  I also noticed that the soa start of authority listed this non working dns server as the soa but should it be the one in the other office?
0
 
dankyle67Author Commented:
Well right after i entered the ip address of the main office dns server into forwarders then i was able to ping yahoo.com without using 8.8.8.8 at all so that's a step in the right direction.  Should i copy the root hints from the main dns as well or is having it on the forwarders section good enough?
0
 
dmwynneCommented:
Need to know more about the network topology.  Does the remote site go through the main office for Internet access?
0
 
dmwynneCommented:
If you have root hints configured and no forwarders any queries the local server can't resolve will get sent to a root server.  If you configure a forwarder it will send those queries to the forwarder.
0
 
dankyle67Author Commented:
The site i just did the change on has only 5 users and 2 servers one of which is the domain controller/dns/dhcp server.  The remote site has its own access to internet but to be honest with you im not sure how it is set up exactly since a month ago they installed voip system that connected both sites together thru whats called a level3 mpls dedicated connection from site to site.  I had a lot of issues with the remote site since it seems that they were getting 2 sets of ip addresses since the phones are connected to wall directly and have static ips and then connect to pcs which strangely enough you cannot ping a machine unless someone is logged in and always in the past i can ping a pc as long as its up and connected to network but doesnt need to have user logged in so that must be what creates the connection that gives the pc its ip address.  Sorry to to give extra detail but since it looks like you are very knowledgeable about a lot of things maybe you could shed some light on this.  Anyway, in general, when you first set up a dns server if you dont put a forwarder or root hints then would it still be able to resolve addresses on its own? In the main office for instance i think i entered the ip address of the dns server of the T1 provider but in the remote office i dont know that info since i didnt set up the phone line mpls device so dont know isp info.
0
 
dmwynneCommented:
If the server is not setup with root hints or forwarders then it would not be able to resolve external addresses.

For the remote site you can either use root servers or use a reliable known DNS server for a forwarder.  I use google's dns servers when I need:

8.8.8.8 - google
8.8.4.4. - google

I would set a forwarder and have root hints configured.  If the forwarder were to fail it should fail back to using root hints for resolution if you checked that box on the forwarders tab.

If the server is not setup with root hints or forwarders then it would not be able to resolve external addresses.

Hopefully what I've said gets the DNS resolution issue working for now.  If it does your next order of business should be creating a network diagram of both sites which includes how each site is connected to one another, how each site connects to the internet, private and public ip's of all critical network devices.   How is the Mpls and phone network setup.  Trust me, you or someone really needs to do this.
0
 
dankyle67Author Commented:
Got it and thanks for all the good information it really made things clearer for me since i always wanted to know about the proper way to set up the forwarders and root hints.  The thought process you gave enabled me to resolve the laptop issue as well as the dns issue on the server itself and this will also help with the other dhcp clients.  One last question, in the dns server properties section where i did the forwarders i also noticed the top line which said which router or default gateway i should use and so i have that as the ip of that mpls since that is the only gateway on  the remote site that allow traffic out to internet.  I noticed that in addition to that gateway there is another router which is the ip of the wireless router we have attached to the network which is configured as an access point so should i remove that since that was the old router they used before they moved from another location a month ago.  Thanks again.
0
 
dmwynneCommented:
From what you've told me it does not sounds like you need that router listed.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 10
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now