How to Install DNS ROLE and its FQDN service and Reverse Lookup zone in Server Core using Powershell?

Hi
I am Setting A Lab Scenario That the PC name "Core2012" i.e. Server Core 2012 Will be Domain Controller.
Using PowerShell I have done this Task
Change hostname ; Configure IP address and Preferred DNS address ; Disable IPv6 ;
Configure Firewall ; Even Active Directory Role install.
Now problem occur
Well I have know to install DNS role install-WindowsFeature DNS
Ok
But; 
How to configure FQDN ; Restore mode password ; Setting up global catalog server ;and configure Reverse Lookup zone Using powershell
I have search many Forums but I am not getting to touch with it.
So I Need a help to set and Configure DNS using Powershell
Thank You!!!
sagarpdalvi

Hi Sagarpdalvi,
To set the Safe mode password with powershell, please refer to the cmdlet Install-ADDSDomainController, to enable global catalog(GC), please run the cmdlet "Set-ADObject" after install Active Directory on the core server, to configure Reverse Lookup zone,
please refer to the cmdlet
Add-DnsServerPrimaryZone.
To configure DC with powershell, please check the scripts:
Installing a Domain Controller on Windows Server 2012
R2 Core
Enabling and Disabling the Global Catalog
To configure DNS, the Domain Name System (DNS) Server Cmdlets should be helpful for you:
http://technet.microsoft.com/en-us/library/jj649850.aspx
I hope this helps.

Similar Messages

  • How to install photoshop cc in several languages, Spanish and English

    How to install photoshop cc in several languages, Spanish and English, I've searched the forums, and I have not been able to make or find would be so kind as to explain how I can do, thank you very much

    In
    Re: Change language?
    PECourtejoie posted this Link:
    Installing Multiple Languages of a Desktop Application | CS6 & Creative Cloud Feature Tour for Design | Adobe TV

  • How to install drivers for ati radeon 3200?and how to config xorg.co ?

    how to install drivers for ati radeon 3200?and how to config xorg.conf?

    mawch wrote:how to install drivers for ati radeon 3200?and how to config xorg.conf?
    Hello
    I am using ati hd 3200 which is integrated with my motherboard. If you are using arch you can download & install through pacman. The package is named like catalyst*. You can install them by issuing as root user
    #pacman -Sy
    #pacman -S -l | grep -i catalyst
    #pacman -S catalyst catalyst-utils
    After installation reboot your machine in runlevel 1. (single mode).  Ensure "fglrx" module is loaded correctly using
    #lsmod | grep -i fglrx
    If the resultant output have "fglrx" part  the module is loaded correctly. The next step is to create a working /etc/X11/xorg.conf. Backup your current xorg.conf if needed.
    #cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bkup
    Then issue
    #aticonfig --initial --input=/etc/X11/xorg.conf
    This will create a new xorg.conf file. Now we can test our confign.
    #telinit 3
    I am using runlevel 3 to avoid graphic messup!!
    issue
    #gdm
    If you graphical login screen works correctly there is nothing to do more except adjust your monitor resoloution as you like.
    To know your ati driver is working correctly issue as root
    #fgl_glxgears
    If gears are rolling happily it seems correct. You can also know more about installed ati driver
    #fglrxinfo
    Now the installed driver version is in the output 
    If there is any problem try following
    ##### Soloutions to solve various display problems using ATI Catalyst Drivers in Linux #####
    yes video playback is choppy until i ran :-
    sudo aticonfig --overlay-type=Xv
    Try adding the following to the 'Device' section in /etc/X11/xorg.conf
    Option "TexturedVideo" "true"
    ### This is a half solution for mythtv problems. Run mythtv in window (no full screen) If You have a screen resolution of 1024x768 try the command;
    mythfrontend --geometry 800x600
    Append the "Device" Section of /etc/X11/xorg.conf file as follows;
    Section "Device"
    Identifier "Videocard0"
    Driver "fglrx"
    Option "OpenGLOverlay" "off"
    Option "VideoOverlay" "on"
    Option "TexturedVideo" "on"
    Option "TexturedVideoSync" "on"
    Option "Capabilities" "0x00000800"
    BusID "PCI:1:0:0"
    EndSection
    Add following in the .bashrc of each user or /etc/bashrc file* Most Effective In My Case!!
    export LIBGL_ALWAYS_INDIRECT=true
    ####### Arch Linux - Add the "nopat" option to the /boot/grub/menu.lst or /boot/grub/grub.conf
    ####### as in the following example
    title  Archlinux Ice Kernel
    root   (hd0,1)
    kernel /boot/vmlinuz26-ice root=/dev/sda2 ro resume=/dev/sda3 quiet splash nopat
    initrd /boot/kernel26-ice.img
    NB: REGULAR DISCLAIMER IS ALSO APPLICABLE TO THE ABOVE MATTER; USE IT AT YOUR OWN RISK !!!  ALL THE ABOVE INFORMATION IS COLLECTED FROM VARIOUS POSTINGS IN THE FORUM AND FROM MY OWN EXPERIENCE
    Wish U good luck
    mvdvarrier

  • Trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable

    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'

    tiburon77 wrote:
    trying to remove itunes and its component get this"the feature you are trying to use is on a network resource that is unavailable" click ok to try again or enter an alternate path to a folder containing the installation package "itunes.msi'
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Quit out of CleanUp, restart the PC and try installing iTunes again. Does the install go through properly now?
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • When i plug my ipod in it says ipod cant be read cuz the apple mobile device is not started.And i went to services and apple mobile device properties and start stops in the middle.and its on automatic.and there isnt a stop button.

    when i plug my ipod in it says ipod cant be read cuz the apple mobile device is not started.And i went to services and apple mobile device properties and start stops in the middle.and its on automatic.and there isnt a stop button.when i click start it says the apple mobile device services stopped in the middle then stopped.it said some services stop in the middle if not used by other services.and i just updated itunes before all a this and ever since ive had errors.

    Have you looked at this article:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

  • Imessage on Mac has my wifes phone number and its greyed out and i cant change it to my number (on the beta version of iMessage for the mac)

    hey-- so iMessage on ONE computer has my wifes phone number in under iMessage and its greyed out and i cant change it to my number.  any ideas?  ive done what people have suggested on these forums, e.g., check your apple id make sure your number is associated with it etc.  how do i change the iMessage number from my wifes to my actual number?  thanks! R

    HI,
    This can depend on the the Apple ID that is used.
    I was under the impression that the invididual parts of an iCloud ID could be "registered" separately for iMessages but this may not be correct.
    I have an Apple ID that is based on a email from a source external to Apple. (an old Dial-up account email)
    I registered this for iCloud and at the time got an @me.com name as well.
    I also have two iPhones so I decided to use the @me.com name on one iPhone and the older Dial-up on the other.
    This seemed to work up to the OS X10.8.2 and iOS 6 updates.
    AT this points I did the OS X one first then the iPhones
    I got alerts in Messages on the Mac to add the Dial-up ID iPhone's number to Messages which I accepted.
    The Messages Menu > Accounts > iMessages showed the iPhone Number as an alternative Receive ID and offered itself in the Drop as the Send from ID.
    I then set up the second iPhone and got an alert in Messages to add the Apple ID and the iPhone number to Messages.
    I said no to this.
    At iOS 6 this did not get added to the Messages > Preferences > Accounts > iMessage panel.
    However at iOS 6.0.2 the iPhones are showing their own Numbers as Greyed out  and even though I refused again the @me.com ID and second iPhone's Number they have been added to the Message Menu > Preferences > Accounts > iMessages pane although they are not ticked.
    The only link these two Apple ID Names have is that they are both associated with the iCloud Account.
    (I Can log in to the same iTunes account with either name, and post here, and access iCloud in a web browser - the password is the same).
    I have successfully managed to get one iPhone to have it's greyed out Number ticked so it can accept iMessages sent to the Number.
    This involved removing the Apple ID on that iPhone, Closing iMessages, restarting iMessages and then re-adding the Apple ID
    I did get an alert to say the ID  would not work anywhere in iMessages when removing it.
    It was 24 hours before I got an alert in Messages again to add the iPhone Number and Apple ID (I said no and they are not active but do show in the iMessage account on the Mac)
    I am a little confused by this bit:-
    ...ONE computer has my wife's phone number in under iMessage and its greyed out ...
    I can see the iPhone Numbers in Messages Menu > Preferences > Accounts >iMessages Account pane but they are not greyed out even when not active
    They are only greyed out on the iPhone's themselves.
    I would also make sure the Apple IDs used on each computer and it's related iPhone are separate from each other.
    9:52 PM      Tuesday; November 27, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I FORGOT MY IPAD4(wifi) password and it got disabled now how can i recover it?? By the way the wifi is of and the location services and find my ipad are enabled now what can i do to recover it???? PLZ HELP!!!

    I FORGOT MY IPAD4(wifi) password and it got disabled now how can i recover it?? By the way the wifi is of and the location services and find my ipad are enabled now what can i do to recover it???? PLZ HELP!!!

    Entering your Wifi password will not - unless I'm missing something completely - disable your iPad. The only thing which will disable your iPad that I'm aware of is entering your passcode for iPad incorrectly multiple times.
    If this is the case then please see: http://support.apple.com/kb/HT1212
    If you have forgotten your password for your router the WPA or WPA2 key as it's also known as they you will need to log in to your Router and setup a new WPA(2) key.
    Regards,
    Steve

  • I just bought a new iphone 4S and its has green and purple striiples on the screen when not in use, I took it back to store and they said it was the display protector that is making the striples?

    I just bought a new apple iphone 4S and its has green and purple striples on it when not in use, is this norm? I took it back to the Verizonwirless and they said it was from the display protector on the screen?

    it was from the display protector on the screen?
    Most likely that is the reason.  I have a screen protector on and see similar issues when the iPhone is not on.  They're not noticeable when turned on.  Remove it and see the difference.

  • Hi I've just bought the standard acrobat download and its in windows and I have a mac - what next?

    Hi I've just bought the standard acrobat download and its in windows and I have a mac - what next?

    Contact Adobe to see if you can return or exchange this. There is no automatic way to deal with this.

  • My ipod will not charge or turn on or show any sign and its not jailbroken and i tried holding the home and power button and all that stuff but nothing works please helppppppp

    my ipod will not charge or turn on or show any sign and its not jailbroken and i tried holding the home and power button and all that stuff but nothing works please helppppppp

    Go through the steps here and see if anything works for you.
    iOS: Not responding or does not turn on - Apple Support
    You might have to bite the bullet and restore the device if nothing else works. If that doesn't bring it back to life, make an appointment at an Apple Store and let take a look at it.

  • Hi! I'm in the middle of updating the softwear and its not moved and it's been over half an hour. Will it load as I need it for work! Please help!!

    Hi! I'm in the middle of updating the softwear and its not moved and it's been over half an hour. Will it load as I need it for work! Please help!

    hold down the home/sleep button together until you see the apple logo and then releaswe.

  • Hi, i sent my 1st gen ipod to apple way back in november 2010 and its march now and i still haven't received the replacement, what do i do? life without music is -_-

    hi, i sent my 1st gen ipod to apple way back in november 2010 and its march now and i still haven't received the replacement, what do i do?
    life without music is -_-

    call apple because there may be an issue with the shipment you should have had the ipod replaced a long time ago
    APPLE
    1800-275-2273

  • I have a ipod 5 and its not working and i will like to get it fixed and i want to see if i still have my warranty

    I have a ipod 5 and its not working and i will like to get it fixed and i want to see if i still have my warranty

    Check Your Service and Support Coverage: Apple - Support

  • Remove Old Name Servers from reverse lookup zones in DNS- PowerShell

    Hello Scripting Guys,
    I'm a long-time fan. Please let me know if I have included enough information for you to provide some guidance. Thank
    you!
    Here is what I am attempting to do:
    import a .csv file which contains
    zoneName,hostname,RecordType
    and then delete the name server entries from the reverse lookup zones.
    Why:
    There are hundreds of zones and 80+ name servers in each for a total of about 25,000 records to be removed. I
    have the list of zones and the list of name servers which I want to remove from the zones.
    Environment:
    I am running PowerShell as a Domain Admin with access to DNS. Zones allow secure updates only (if that matters here).
    I am running it from a Server 2012 R2 server with the DNS admin tools installed against Server 2008 R2 DNS servers. Current AD functional level Windows Server 2003. All DC are DNS server and GC's.
    What I have tried:
    The following
    works to return all the Name Server records in a zone:
    .csv file format
    zoneName,hostname,RecordType
    1.112.170.in-addr.arpa,nameserver1.contoso.com.,Ns
    1.112.170.in-addr.arpa,nameserver2.contoso.com.,Ns
    1.112.170.in-addr.arpa,nameserver3.contoso.com.,Ns
    2.112.170.in-addr.arpa,nameserver1.contoso.com.,Ns
    2.112.170.in-addr.arpa,nameserver2.contoso.com.,Ns
    2.112.170.in-addr.arpa,nameserver3.contoso.com.,Ns
    Script\Command:
    Import-Module DnsServer
    $PDCE = Get-ADDomainController -Discover -Service PrimaryDC
    import-csv c:\temp\OldNSrecords-test.csv | foreach {
    Get-DnsServerResourceRecord -ZoneName $_.zoneName -RRType "Ns" -computerName $PDCE
    -Node
    OutPut to screen:
    HostName RecordType Timestamp TimeToLive RecordData
    @ NS 0 1:00:00 Nameserver1.contoso.com
    @ NS 0 1:00:00 Nameserver2.contoso.com
    However, replacing the business line (in green above after foreach) with the remove command (in red below)
    does not work to delete the specific record listed in the .csv, even though it follows the
    pattern from MS TechNet:
    Remove-DnsServerResourceRecord -ZoneName $_.zoneName -RRType "Ns" -name $_.hostname -computerName
    $PDCE
    Error:
    PS C:\Windows\system32> C:\Temp\OldNSCleanup.ps1
    Remove-DnsServerResourceRecord : Failed to get nameserver1.contoso.com. record in
    1.112.170.in-addr.arpa zone on PDCE server.
    At C:\Temp\OldNSCleanup.ps1:4 char:1
    + Remove-DnsServerResourceRecord -ZoneName $_.zoneName -RRType "Ns" -name $_.name ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (PDCE:root/Microsoft/...rResourceRecord) [Remove-
    DnsServerResourceRecord], CimException
    + FullyQualifiedErrorId : WIN32 9714,Remove-DnsServerResourceRecord​
    When I remove the use of the .csv and put the names of the zone and server in the command, I get the same results.
    Fail.
    It's as if the record does not exist, but I can browse to it in the GUI. I found
    this about Missing Glue records, but it does not seem to apply to reverse lookup NS records. I'm thinking that I need to first load each zone into an assembly and then do the removal,
    but I'm not sure how to do that in PowerShell. I tried piping the get command for the zone to the remove command, but that did not work or I did not have the correct syntax.
    I have attempted to use DNSCMD to do the same and that command appears to work, but then fails to actually remove
    the record.
    Here is an example of that command:
    import-csv C:\Temp\OldNSrecords-test.csv | foreach {dnscmd.exe "DNSServer.contoso.com" /Recorddelete $_.ZoneName
    $_.hostname $_.recordType /f}
    Output:
    Deleted Ns record(s) at 1.112.170.in-addr.arpa
    Command completed successfully. [But not really, the NS record is still there]
    I have researched several sites including the suggest one here, but this does not fit my requirement.
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/97070ff2-59e2-4f34-9c39-054048e008af/automatically-delete-removed-dcname-servers-and-automatically-add-new-dcname-servers-in-reverse?forum=winserverDS
    http://technet.microsoft.com/en-us/library/jj649872.aspx

    Here is a backing store for the root servers in the DNS format:
    ; formerly NS.INTERNIC.NET
    . 3600000 IN NS A.ROOT-SERVERS.NET.
    A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
    ; formerly NS1.ISI.EDU
    . 3600000 NS B.ROOT-SERVERS.NET.
    B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
    ; formerly C.PSI.NET
    . 3600000 NS C.ROOT-SERVERS.NET.
    C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
    ; formerly TERP.UMD.EDU
    . 3600000 NS D.ROOT-SERVERS.NET.
    D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
    ; formerly NS.NASA.GOV
    . 3600000 NS E.ROOT-SERVERS.NET.
    E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
    ; formerly NS.ISC.ORG
    . 3600000 NS F.ROOT-SERVERS.NET.
    F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
    ; formerly NS.NIC.DDN.MIL
    . 3600000 NS G.ROOT-SERVERS.NET.
    G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
    ; formerly AOS.ARL.ARMY.MIL
    . 3600000 NS H.ROOT-SERVERS.NE
    Notice that each is a pair.
    One is the NS and the secon is the A record.
    .                        3600000      NS    G.ROOT-SERVERS.NET.
    G.ROOT-SERVERS.NET.      3600000      A     192.112.36.4
    In this case the dot represents the self reference to the A record.  These are the records that bootstrap all of the Internet.  Remove them and you ae lost.
    The CSV uses the @ to anchor the local domain.  Perhaps the DNS CmdLets prefer the dot.  The @ is what appears on the screen when we use the GUI. Note the dot at the end of the FQDN.  It is required.  Even browser use
    it but they add it if you forget.
    ¯\_(ツ)_/¯

  • Install Windows server 2012 using powershell

    Hi Folks,
    How to Install Windows server 2012 using powershell.
    Thanks,

    Hi,
    According to your post, my understanding is that you want to install Windows server 2012 via PowerShell.
    Per the previous thread, we could not install Windows server 2012 directly via PowerShell.
    https://social.technet.microsoft.com/Forums/en-US/53f82989-4b9c-4197-9ff1-03e96c852eb7/how-to-install-windows-server-2012-directly-in-vhd-file-using-powershell?forum=winserver8setup
    As this is the forum for SharePoint server on-premise, I’m not familiar with the Windows server, for this issue, I recommend you can post a new question in the forum for Windows server.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=winserver8setup
    More experts will assist you, then you will get more information relation to Windows server.
    Thank you for your understanding and support.
    More reference:
    http://vegibit.com/install-and-configure-windows-server-2012-with-windows-powershell/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • I made the switch!!!

    Hi everyone, Well, after 10+ years of using a Windows PC, I finally decided to make the big switch!! I ordered a 17" iMac last week on Apple's website, and it arrived at my house today!! In less than 10 minutes, I was connected to the internet!!! I c

  • How can I allow or block the use of local storage by specific sites for all users in my domain.

    How can I allow or block the use of local storage by specific sites for all users in my domain. I tried to do this by MMS.cfg but it is not working, the problem is also described in your blog "http://forums.adobe.com/message/3272907". What I Want -:

  • How to import multiple Excel/CSV columns into a single Sharepoint metadata choice column?

    Consider: I work for an organization that has eight service territories.  We have a series of procedural documents that can apply to from one to eight territories. We are moving this data over to sharepoint, and I'd like to add territory data as meta

  • Table Maintenance Generator - Change

    Dear experts, I hv created a TMC for customize table with field lifnr and name1. I am getting F4 for lifnr field and the requirement is when i enter vendor code and press enter, the name field should be populated automatically from LFA1 table. When I

  • White artifacts/stitching in between vector layers

    Hi there, I am not sure what I am doing wrong here but I have an illustration I did and when exporting as a PDF I get these white stitch marks inbetween the layering. My steps previous to that were Object > Live paint, where I finalized colouring of