1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS / WINS server IP Change.

Discussion in 'Networks' started by Luddym, Jul 28, 2008.

  1. Luddym

    Luddym Megabyte Poster

    797
    19
    74
    Hey guys,

    We run a domain environment with around 150 desktop PC's with Static IP's, and we do have GPO's Implemented.

    We have 2 servers that run both DNS and WINS. IE, there preferred DNS server is also the backup WINS server, and the preferred WINs is the backup DNS.

    We are coming to change the IP address of one of these servers, but as the IP details for the client machines are set manually, I'm going to need to change the DNS and WINS server addresses that are held on the client machine's adapter under TCP/IP properties / advanced.

    I can push the DNS server addresses out via a GPO, which should be effective, but the problem I have is changing the WINS server addresses. As far as i can tell, I cannot push WINS out via GPO, but I'm not looking forward to the prospect of doing this manually....

    Is it possible to automate this in any way? Has anyone used the NETSH command to do something like this?

    Many thanks in advance guys.
     
    Certifications: VCP,A+, N+, MCSA, MCSE
    WIP: Christmas Drunkard
  2. dales

    dales Gigabyte Poster

    1,998
    46
    97
    cant you do that in the dhcp configuration app on the dc, along with where you config the options for default gways and routers etc!
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  3. Luddym

    Luddym Megabyte Poster

    797
    19
    74
    These are static IP's and not being pushed out via DHCP.
     
    Certifications: VCP,A+, N+, MCSA, MCSE
    WIP: Christmas Drunkard
  4. dales

    dales Gigabyte Poster

    1,998
    46
    97
    oops sorry
     
    Certifications: vExpert 2014+2015+2016,VCP-DT,CCE-V, CCE-AD, CCP-AD, CCEE, CCAA XenApp, CCA Netscaler, XenApp 6.5, XenDesktop 5 & Xenserver 6,VCP3+5,VTSP,MCSA MCDST MCP A+ ITIL F
    WIP: Nothing
  5. Luddym

    Luddym Megabyte Poster

    797
    19
    74
    No worries Dale, thanks for trying.


    netsh interface ip set wins "Local Area Connection" static 87.42.0.227

    netsh interface ip add wins "Local Area Connection" 87.42.0.228


    I've been experimenting with with above command. It seems to work fine, but I still can't work out why 'static' is used on one and not the other.
     
    Certifications: VCP,A+, N+, MCSA, MCSE
    WIP: Christmas Drunkard
  6. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    slightly off topic, but any reason you have 150 clients on static ip's?
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  7. Stoney

    Stoney Megabyte Poster

    731
    23
    69
    When you use the 'set' function you have to specify whether you are using DHCP or Static settings.

    When you use 'add' it doesn't matter because you can always add a static address to a DHCP configuration.
     
    Certifications: 25 + 50 metre front crawl
    WIP: MCSA - Exam 70-270
  8. Luddym

    Luddym Megabyte Poster

    797
    19
    74
    Company security. We haven't used DHCP in the company for over 12 months and are getting rid of the server. We use a lot of dumb terminals and are going through the thin client route in the future to replace these.
     
    Certifications: VCP,A+, N+, MCSA, MCSE
    WIP: Christmas Drunkard
  9. Luddym

    Luddym Megabyte Poster

    797
    19
    74
    Excellent, thanks for that clarification Stoney.
     
    Certifications: VCP,A+, N+, MCSA, MCSE
    WIP: Christmas Drunkard
  10. NightWalker

    NightWalker Gigabyte Poster

    1,172
    25
    92
    We have about 8000 clients on static IPs :blink The reason for this is access to DB2 data on the mainframe, access permissions are assigned by IP address. There are a lot of Excel sheets full of IPs and computer names!
     
    Certifications: A+, Network+, MCP, MCSA:M 2003, ITIL v3 Foundation
  11. Boycie
    Honorary Member

    Boycie Senior Beer Tester

    6,281
    85
    174
    Blimey! :blink :D
     
    Certifications: MCSA 2003, MCDST, A+, N+, CTT+, MCT
  12. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    That’s one way of putting it! :biggrin

    8000 static IPs is crazy! :blink
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  13. NightWalker

    NightWalker Gigabyte Poster

    1,172
    25
    92
    Blame IBM, the mainframe would get all confused if IPs were dynamically assigned.
     
    Certifications: A+, Network+, MCP, MCSA:M 2003, ITIL v3 Foundation
  14. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    Good old IBM :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  15. NightWalker

    NightWalker Gigabyte Poster

    1,172
    25
    92
    The Windows enterprise and the Mainframe do play quite well together, just a few extra hoops to jump through to keep everything working.
     
    Certifications: A+, Network+, MCP, MCSA:M 2003, ITIL v3 Foundation
  16. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    ....IBM are always like that. They call it “increased functionality”, I call it an “inconvenience” :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  17. NightWalker

    NightWalker Gigabyte Poster

    1,172
    25
    92
    I suppose they did invent the PC, got to cut them a little slack :)
     
    Certifications: A+, Network+, MCP, MCSA:M 2003, ITIL v3 Foundation
  18. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    299
    319
    Ack, well when you put it like that :biggrin
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010

Share This Page

Loading...