<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>pdsql on CoreDNS: DNS and Service Discovery</title><link>https://coredns.website.cncfstack.com/tags/pdsql/</link><description>Recent content in pdsql on CoreDNS: DNS and Service Discovery</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><copyright>CoreDNS - All Rights Reserved</copyright><lastBuildDate>Sat, 09 Dec 2017 10:26:00 +0800</lastBuildDate><atom:link href="https://coredns.website.cncfstack.com/tags/pdsql/index.xml" rel="self" type="application/rss+xml"/><item><title>pdsql</title><link>https://coredns.website.cncfstack.com/explugins/pdsql/</link><pubDate>Sat, 09 Dec 2017 10:26:00 +0800</pubDate><guid>https://coredns.website.cncfstack.com/explugins/pdsql/</guid><description>Description pdsql uses PowerDNS generic sql as backend.
Use jinzhu/gorm database drivers, supports as many databases as Gorm does.
Syntax pdsql &amp;lt;dialect&amp;gt; &amp;lt;arg&amp;gt; { // enable debug mode debug [db] // create table for test auto-migrate } Install Driver pdsql needs db drivers for dialect, to install a driver you need to add an import in plugin.cfg, like
pdsql_mysql:github.com/jinzhu/gorm/dialects/mysql pdsql_sqlite:github.com/jinzhu/gorm/dialects/sqlite pdsql_mysql and pdsql_sqlite are meaningless, specified to prevent duplicates.
Examples Start a server on port 1053, use test.</description></item></channel></rss>