Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




675 posts

Ultimate Geek
+1 received by user: 12


# 106539 26-Jul-2012 02:52
Send private message

(networking noob)

When I'm setting a static address for my PC in Windows, the last two lines it has are for DNS server addresses:

Preferred DNS Server
Alternate DNS Server

I don't really know how DNS servers work, but I'm wondering if I should fill these lines? Should I leave them empty, fill them with the two DNS servers provided by my ISP or is something from my router supposed to go there?

Also, why does my router's system info page have three DNS servers listed; the two ISP ones and 127.0.0.1?

Create new topic
9 posts

Wannabe Geek


  # 662152 26-Jul-2012 07:09
Send private message

Hello mate,

Yes you should assign at least one DNS server when you're using a static.

The easiest way to find out what settings to use is to do a "ipconfig -all" 

On your computer  

1 > Press the Windows key + R to open a cmd ( little black window ) or type cmd in to the run box

2 > type "IPCONFIG -ALL" and press enter

3 > Scroll down to you see your " Ethernet adapter Local Area Connection"








But depending on the setup of your network, you could have a DNS server or your router will do DHCP and DNS

BDFL - Memuneh
63871 posts

Uber Geek
+1 received by user: 14333

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 662161 26-Jul-2012 07:57
Send private message

As said, if you are using a static IP address then you should use the DNS there - if you currently have a dynamic IP the easiest one to use is your router's IP address, this way the router configuration will always work for the entire network.

This is what I have:



Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) 82579LM Gigabit Network Connection
Physical Address. . . . . . . . . : 44-37-E6-6A-21-FD
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::205e:3257:f7b6:3bff%11(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.110(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 239351782
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-EA-FB-38-44-37-E6-6A-21-FD
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled

That DNS in my case is the router...





 
 
 
 




675 posts

Ultimate Geek
+1 received by user: 12


  # 662434 26-Jul-2012 15:18
Send private message

ipconfig = DNS Servers: 192.168.2.1, which is my router's IP. So the router handles the DNS thing then? I should just put that one address for DNS server like this?



And for my router I put in the two addresses provided by Slingshot here, am I doing it right?

Why does my router show this extra DNS server 127.0.0.1? I didn't supply it with that.


9 posts

Wannabe Geek


  # 662528 26-Jul-2012 17:53
Send private message

Oubadah: ipconfig = DNS Servers: 192.168.2.1, which is my router's IP. So the router handles the DNS thing then? I should just put that one address for DNS server like this?



And for my router I put in the two addresses provided by Slingshot here, am I doing it right?

Why does my router show this extra DNS server 127.0.0.1? I didn't supply it with that.




127.0.0.1 is a loopback address, It will check itself before passing the request up the line. For a home network, Set the router/gateway as your DNS. it will then use the ISP's DNS servers.


3466 posts

Uber Geek
+1 received by user: 463

Trusted

  # 662540 26-Jul-2012 18:12
Send private message

I would never really recommend using Static IPs. I would sooner suggest you either have a static reservation on your DHCP server, increase the DHCP expiration time to like a month or use IPv6 with link local. All will result in your address never changing but means you can manage everything via your router so you don't get conflicts or the like.







675 posts

Ultimate Geek
+1 received by user: 12


  # 662964 27-Jul-2012 14:40
Send private message

Zeon: I would never really recommend using Static IPs. I would sooner suggest you either have a static reservation on your DHCP server, increase the DHCP expiration time to like a month or use IPv6 with link local. All will result in your address never changing but means you can manage everything via your router so you don't get conflicts or the like.


Some games need you to specify an IP address on the machine, don't ask me why. I think one of them was CoD4, which would refuse to launch otherwise.

Create new topic



Switch your broadband provider now - compare prices


Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Dunedin selects Telensa to deliver smart street lighting for 15,000 LEDs
Posted 18-Jul-2019 10:21


Sprint announces a connected wallet card with built-in IoT support
Posted 18-Jul-2019 08:36


Educational tool developed at Otago makes international launch
Posted 17-Jul-2019 21:57


Symantec introduces cloud access security solution
Posted 17-Jul-2019 21:48


New Zealand government unveils new digital service to make business easier
Posted 16-Jul-2019 17:35


Scientists unveil image of quantum entanglement
Posted 13-Jul-2019 06:00


Hackers to be challenged at University of Waikato
Posted 12-Jul-2019 21:34


OPPO Reno Z now available in New Zealand
Posted 12-Jul-2019 21:28


Sony introduces WF-1000XM3 wireless headphones with noise cancellation
Posted 8-Jul-2019 16:56


Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35


Air New Zealand uses drones to inspect aircraft
Posted 17-Jun-2019 15:39


TCL Electronics launches its first-ever 8K TV
Posted 17-Jun-2019 15:18



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.