Posts

Showing posts with the label DNS

DNS Server IP Address change in Client Systems through Group Policy

Image
  Scenario: Recently our network team, restructure IP segments & it is recommended to change the IP address of our DNS server. It is an AD integrated DNS server & around 1000 desktops & laptops are in the network – all have static IP addresses. We need to change the DNS IP for all the systems. Procedure: We can change the DNS IP through Group Policy with the help of a simple *.bat file. We will apply the GPO in Startup as Computer base policy. But here tricky part is, we need run the batch file in "Run as Administrator" mode. Most of the Computer-based Startup GPO is not run in normal mode. The batch file as below, suppose it name DNSIP_Change.bat   :   Replace your DNS Server “ set dnsserver=X.X.X.X ” @echo off set dnsserver=10.10.10.31 set dnsserver2=10.10.10.30 for /f "tokens=1,2,3*" %%i in ('netsh interface show interface') do (   if %%i EQU Enabled (   rem echo change "%%l" : %dnsserver%   netsh interface ...

Forest Trust: Between two Forests – RED.COM & PINK.ORG

Image
  Scenario: In our organization for every location there are one single domain forest. For example, for Kolkata it RED.COM & for Jaipur it is PINK.ORG. Now the company management want to introduce SCCM & its main server should be in Jaipur (PINK.ORG) & a Site Server in Kolkata (RED.COM) for patch management & other deployments. Hence need to establish Forest Trust between two domains. Both domains have Forest & Domain Functional Level Windows Server 2008R2. Pix 01: Trust Challenges: £   In PINK.ORG (Jaipur) DNS, RED.COM (Kolkata) Primary Zone is there, it is created long back & several manual host entries are there. Primary Zone need to convert into Secondary Zone. £   Establish Two Way Forest Trust between PINK.ORG & RED.COM. To achieve this DNS name resolution between two forests is must & name resolution can be possible in different way –          i) Secondary Zone cre...