Skip to content
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
rileymichaelPublic archive

About

wildcard dns server that will extract ip addresses from the hostname and resolve to them

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

resolvr

simple wildcard dns server that will extract ip addresses from the hostname and resolve to them -- no more editing /etc/hosts!

terminal example

config

vrischmann/envconfig is used to load config from env variables. defaults are configured for local dev, however you can override them at runtime like so:

export RESOLVR_HOSTNAME=your.hostname.
export RESOLVR_BIND_ADDRESS=0.0.0.0:53
export RESOLVR_METRICS_ADDRESS=0.0.0.0:9091
export RESOLVR_ENV=prod
export RESOLVR_STATIC_TYPE_A_RECORDS={your.hostname.,10.10.10.2},{prod.your.hostname.,10.10.10.3}
export RESOLVR_STATIC_TYPE_AAAA_RECORDS={your.hostname.,::1}
export RESOLVR_STATIC_TYPE_CNAME_RECORDS={www.your.hostname.,your.hostname.}
export RESOLVR_NAMESERVERS={ns1.your.hostname.,10.10.10.2},{ns2.your.hostname.,10.10.10.3}

About

wildcard dns server that will extract ip addresses from the hostname and resolve to them

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages