By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSIAM PoliciesVPC Endpoint PoliciesAmazon ECRRDS Event Subscriptions

By Service Protected

Configuration Packages

Strategy Guides

Other

Security Groups & NACLs

DNS Server Security Group.

A security group that allows inbound DNS traffic (TCP and UDP port 53).

The template creates the security group into an existing VPC, and requires the following details: 

  • VPC ID: Provide the VPC ID to create the security group in.
  • Security Group Rules: Click on 'Customize Rules' and enter the missing rule information (Source IP, Prefix List or Security Group, Port number, and Protocol) depending on the security group template. 

See Related Items section for configuration templates to create a new VPC.

Items
1
Size
0.8 KB
Missing Parameters
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
Resources:
  SecurityGroup:
    Type: "AWS::EC2::SecurityGroup"
    Properties:
      GroupDescription: "A security group that allows inbound DNS traffic (TCP and UDP port 53)."
      VpcId: ""
      SecurityGroupEgress:
        - FromPort: -1
          ToPort: -1
          IpProtocol: "-1"
          Description: ""
          CidrIp: "0.0.0.0/0"
      SecurityGroupIngress:
        - FromPort: 53
          ToPort: 53
          IpProtocol: "udp"
          Description: "Allow DNS traffic - UDP 53"
          CidrIp: ""
        - FromPort: 53
          ToPort: 53
          IpProtocol: "tcp"
          Description: "Allow DNS traffic - TCP 53"
          CidrIp: ""
      GroupName: "allow-dns-traffic"
Parameters: {}
Metadata: {}
Conditions: {}

Actions



Customize Template

 
* Required field