Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eriweb/powerdns-cloudstack-proxy-dns
PowerDNS Lua script to provide realhostip.com like feature for cloudstack and others
https://github.com/eriweb/powerdns-cloudstack-proxy-dns
Last synced: 28 days ago
JSON representation
PowerDNS Lua script to provide realhostip.com like feature for cloudstack and others
- Host: GitHub
- URL: https://github.com/eriweb/powerdns-cloudstack-proxy-dns
- Owner: eriweb
- License: apache-2.0
- Created: 2014-03-12T19:01:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-26T08:11:49.000Z (over 10 years ago)
- Last Synced: 2024-04-24T11:53:00.060Z (8 months ago)
- Language: Lua
- Size: 156 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloudstack - powerdns-cloudstack-proxy-dns
README
powerdns-cloudstack-console-proxy-dns
=====================================PowerDNS Lua script to provide realhostip.com like feature for cloudstack and others
Installation
============1. First, make sure to have Lua enabled in your PowerDNS authorative server.
If you are using a RHEL based distribution with EPEL you could probably do
something like `yum install pdns-backend-lua`2. Place the cloudstack-dns.lua file somewhere where your powerdns can access and
read it. Ie. in your /etc/pdns folder.Configuration
=============1. In your pdns.conf, add lua to launch after your existing backends.
2. If this is a dedicated domain, you have to provide NS and SOA records as you
normally would, as that's outside the scope of this script.3. If you are using the bind backend, your pdns.conf should look like this:
```
launch=bind,lua
lua-filename=/etc/pdns/cloudstack-dns.lua
```
4. In cloudstack-dns.lua, specify the domain variable. This will be
configurable from pdns.conf once that works, but is hard coded as a workaroundTesting
=======```
[vagrant@pdns ~]$ dig +short 1-2-3-4.realhostip.com @localhost
1.2.3.4
```