Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Amazon Web Services
  3. aws-name-server

aws-name-server

Go

A DNS server that maps EC2 instances to human-readable names via AWS tags and instance IDs.

GitHubGitHub
560 stars29 forks0 contributors

What is aws-name-server?

aws-name-server is a DNS server that dynamically maps AWS EC2 instances to human-readable domain names based on their tags, roles, or instance IDs. It solves the problem of managing hard-to-remember IP addresses or instance identifiers in cloud environments by providing a simple, tag-based naming system.

Target Audience

DevOps engineers, system administrators, and cloud infrastructure teams managing AWS EC2 instances who need a lightweight, self-hosted DNS solution for instance discovery.

Value Proposition

Developers choose aws-name-server for its simplicity, tight AWS integration, and ability to resolve instances by tags without requiring complex service discovery systems or external dependencies.

Overview

DNS server that lets you look up ec2 instances by instance name

Use Cases

Best For

  • Resolving EC2 instances by Name or Role tags instead of IP addresses
  • Setting up internal DNS for AWS-based development or staging environments
  • Simplifying SSH or service connections to dynamically named instances
  • Creating human-readable aliases for auto-scaling group instances
  • Quickly discovering instances across AWS regions via DNS queries
  • Self-hosting a lightweight DNS server without external SaaS dependencies

Not Ideal For

  • Multi-cloud environments requiring DNS resolution across AWS, Azure, or GCP
  • Large-scale production setups needing high-availability DNS with automatic failover and load balancing
  • Teams that require advanced DNS features like DNSSEC, zone transfers, or dynamic updates
  • Infrastructures heavily using non-EC2 AWS services (e.g., RDS, Lambda) for service discovery

Pros & Cons

Pros

Tag-Based Discovery

Dynamically resolves EC2 instances by AWS tags like Name or Role, enabling human-readable names such as web-server.aws.example.com, as detailed in the usage section.

Minimal AWS Permissions

Requires only ec2:DescribeInstances permission via IAM roles or access keys, reducing security overhead, as specified in the IAM integration and setup guide.

Automatic IP Handling

Uses CNAME records to return internal IPs for queries inside AWS and external IPs for outside queries, simplifying network configuration, as explained in the usage overview.

Lightweight Deployment

Deploys as a single binary without external dependencies, with provided guides for EC2, security groups, and upstart configuration, making it easy to self-host.

Cons

AWS-Only Lock-in

Exclusively supports AWS EC2 instances, lacking integration with other cloud providers or AWS services like ECS or RDS, which limits its utility in hybrid environments.

Manual Setup Overhead

Requires manual configuration of security groups, IAM roles, and NS records, which is error-prone and time-consuming, as evidenced by the lengthy setup guide and troubleshooting steps.

No Built-in Redundancy

Operates as a single instance without inherent clustering or failover mechanisms, posing a single point of failure for critical DNS services in production.

Frequently Asked Questions

Quick Stats

Stars560
Forks29
Contributors0
Open Issues5
Last commit10 years ago
CreatedSince 2014

Tags

#devops-tools#dns-server#cloud-dns#infrastructure-management#aws-automation#aws-ec2

Included in

Amazon Web Services14.0k
Auto-fetched 1 day ago

Related Projects

kubernetes-the-hard-waykubernetes-the-hard-way

Bootstrap Kubernetes the hard way. No scripts.

Stars48,880
Forks15,733
Last commit1 year ago
openebsopenebs

A popular & widely deployed Open Source Container Native Storage platform for Stateful Persistent Applications on Kubernetes.

Stars9,775
Forks986
Last commit1 day ago
cristim/autospottingcristim/autospotting

Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.

Stars2,367
Forks313
Last commit4 months ago
ec2-consistent-snapshotec2-consistent-snapshot

[SUNSET] Initiate consistent EBS snapshots in Amazon EC2

Stars436
Forks105
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub