Cisco UCS Central CLI Configuration Guide, Release 1.0
Configuring DNS Servers
Downloads: This chapterpdf (PDF - 307.0KB) The complete bookPDF (PDF - 2.17MB) | The complete bookePub (ePub - 408.0KB) | Feedback

Configuring DNS Servers

Configuring DNS Servers

This chapter includes the following sections:

DNS Policies

Cisco UCS Central supports global DNS policies defining the DNS server and domain name. Registered Cisco UCS domains choosing to define DNS management globally within that domain's policy resolution control will defer DNS management to its registration with Cisco UCS Central.

Configuring a DNS Policy

Before You Begin

Before configuring a DNS policy in a domain group under the Domain Group root, this policy must first be created. Policies under the Domain Groups root were already created by the system and ready to configure.

Procedure
      Command or Action Purpose
    Step 1 UCSC# connect policy-mgr  

    Enters policy manager mode.

     
    Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

    Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

     
    Step 3 UCSC(policy-mgr) /domain-group # scope dns-config   (Optional)

    If scoping into the domain group root previously, scopes the default DNS policy's configuration mode from the Domain Group root.

     
    Step 4 UCSC(policy-mgr) /domain-group # create dns-config   (Optional)

    If scoping into a domain group previously, creates the DNS policy for that domain group.

     
    Step 5 UCSC(policy-mgr) /domain-group/dns-config* # set domain-name server-domain-name  

    Defines the DNS domain name.

     
    Step 6 UCSC(policy-mgr) /domain-group/dns-config* # commit-buffer  

    Commits the transaction to the system configuration.

     

    The following example shows how to scope into the domain group root (which has an existing DNS policy by default), define the DNS domain name as dnsdomain, and commit the transaction:

    UCSC # connect policy-mgr
    UCSC(policy-mgr)# scope domain-group /
    UCSC(policy-mgr) /domain-group # scope dns-config
    UCSC(policy-mgr) /domain-group/domain-group # set domain-name dnsdomain
    UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
    UCSC(policy-mgr) /domain-group/domain-group # 
    
    

    The following example shows how to scope into the domain group domaingroup01, create the DNS policy for that domain group, define the DNS domain name as dnsdomain, and commit the transaction:

    UCSC # connect policy-mgr
    UCSC(policy-mgr)# scope domain-group domaingroup01
    UCSC(policy-mgr) /domain-group # create dns-config
    UCSC(policy-mgr) /domain-group/domain-group* # set domain-name dnsdomain
    UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
    UCSC(policy-mgr) /domain-group/domain-group # 
    

    Deleting a DNS Policy

    Procedure
        Command or Action Purpose
      Step 1 UCSC# connect policy-mgr  

      Enters policy manager mode.

       
      Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

      Enters a domain group under the domain group root.

      Note   

      Do not enter the domain group root itself. System default DNS policies cannot be deleted under the domain group root.

       
      Step 3 UCSC(policy-mgr) /domain-group # delete dns-config  

      Deletes the DNS policy for that domain group.

       
      Step 4 UCSC(policy-mgr) /domain-group* # commit-buffer  

      Commits the transaction to the system configuration.

       

      The following example shows how to scope into the domain group domaingroup01, delete the DNS policy for that domain group, and commit the transaction:

      UCSC # connect policy-mgr
      UCSC(policy-mgr)# scope domain-group domaingroup01
      UCSC(policy-mgr) /domain-group/domain-group # delete dns-config
      UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
      UCSC(policy-mgr) /domain-group/domain-group # 
      

      Configuring a DNS Server for a DNS Policy

      Before You Begin

      Configure a DNS policy.

      Procedure
          Command or Action Purpose
        Step 1 UCSC# connect policy-mgr  

        Enters policy manager mode.

         
        Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

        Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

         
        Step 3 UCSC(policy-mgr) /domain-group # scope dns-config  

        Enter an existing DNS policy's configuration mode from the Domain Group root or a domain group scoped into.

         
        Step 4 UCSC(policy-mgr) /domain-group/dns-config # create dns server-IP-address  

        Creates a DNS server instance.

         
        Step 5 UCSC(policy-mgr) /domain-group/dns-config* # commit-buffer  

        Commits the transaction to the system configuration.

         

        The following example shows how to scope into the domain group root, create a DNS server instance named 0.0.0.0, and commit the transaction:

        UCSC # connect policy-mgr
        UCSC(policy-mgr)# scope domain-group /
        UCSC(policy-mgr) /domain-group # scope dns-config
        UCSC(policy-mgr) /domain-group/domain-group # create dns 0.0.0.0
        UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
        UCSC(policy-mgr) /domain-group/domain-group # 
        
        

        The following example shows how to scope into the domain group domaingroup01, create a DNS server instance named 0.0.0.0, and commit the transaction:

        UCSC # connect policy-mgr
        UCSC(policy-mgr)# scope domain-group domaingroup01
        UCSC(policy-mgr) /domain-group # scope dns-config
        UCSC(policy-mgr) /domain-group/domain-group # create dns 0.0.0.0
        UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
        UCSC(policy-mgr) /domain-group/domain-group # 
        

        Deleting a DNS Server from a DNS Policy

        Procedure
            Command or Action Purpose
          Step 1 UCSC# connect policy-mgr  

          Enters policy manager mode.

           
          Step 2 UCSC(policy-mgr)# scope domain-group domain-group  

          Enters domain group root mode and (optionally) enters a domain group under the domain group root. To enter the domain group root mode, type / as the domain-group.

           
          Step 3 UCSC(policy-mgr) /domain-group # scope dns-config  

          Enter an existing DNS policy's configuration mode from the Domain Group root or a domain group scoped into.

           
          Step 4 UCSC(policy-mgr) /domain-group/dns-config # delete dns server-IP-address  

          Deletes a DNS server instance.

           
          Step 5 UCSC(policy-mgr) /domain-group/dns-config* # commit-buffer  

          Commits the transaction to the system configuration.

           

          The following example shows how to scope into the domain group root, delete a DNS server instance named 0.0.0.0, and commit the transaction:

          UCSC # connect policy-mgr
          UCSC(policy-mgr)# scope domain-group /
          UCSC(policy-mgr) /domain-group # scope dns-config
          UCSC(policy-mgr) /domain-group/domain-group # delete dns 0.0.0.0
          UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
          UCSC(policy-mgr) /domain-group/domain-group # 
          
          

          The following example shows how to scope into the domain group domaingroup01, delete a DNS server instance named 0.0.0.0, and commit the transaction:

          UCSC # connect policy-mgr
          UCSC(policy-mgr)# scope domain-group domaingroup01
          UCSC(policy-mgr) /domain-group # scope dns-config
          UCSC(policy-mgr) /domain-group/domain-group # delete dns 0.0.0.0
          UCSC(policy-mgr) /domain-group/domain-group* # commit-buffer
          UCSC(policy-mgr) /domain-group/domain-group #