:doc:`EC2 <../../ec2>` / Client / disable_vpc_classic_link_dns_support

************************************
disable_vpc_classic_link_dns_support
************************************



.. py:method:: EC2.Client.disable_vpc_classic_link_dns_support(**kwargs)

  

  .. note::

    

    This action is deprecated.

    

   

  Disables ClassicLink DNS support for a VPC. If disabled, DNS hostnames resolve to public IP addresses when addressed between a linked EC2-Classic instance and instances in the VPC to which it's linked.

   

  You must specify a VPC ID in the request.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport>`_  


  **Request Syntax**
  ::

    response = client.disable_vpc_classic_link_dns_support(
        VpcId='string'
    )
    
  :type VpcId: string
  :param VpcId: 

    The ID of the VPC.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Return': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Return** *(boolean) --* 

        Returns ``true`` if the request succeeds; otherwise, it returns an error.

        
  