# Changing DNS entries Our current DNS provider is [hosting.de](https://hosting.de/). We use [OpenTofu](https://opentofu.org/) to declaratively manage our momo.koeln DNS records. ### Initial setup You will need to setup [hosting.de API credentials](https://www.hosting.de/api/#requests-and-authentication), look for "hosting.de admin API token" in the momo KeePass database. ``` export HOSTINGDE_AUTH_TOKEN=<your-API-token> ``` Now, change into the terraform directory and initialize the opentofu providers. ``` cd terraform/momo tofu init ``` Make your changes, e.g. in `dns.tf`. ``` $EDITOR dns.tf ``` Plan your changes using: ``` tofu plan -out momo-infra.plan ``` After verification, apply your changes with: ``` tofu apply "momo-infra.plan" ``` ### Useful links hosting.de OpenTofu provider docs: - https://registry.terraform.io/providers/pub-solar/hostingde/latest