mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-01 05:01:46 +08:00
namecheap url doc mention (#245)
* add initial URL support to namecheap provider * add URL / FRAME records to namecheap provider * add menion of URL types to namecheap docs
This commit is contained in:
parent
eafc18a77e
commit
1664b64a94
1 changed files with 14 additions and 2 deletions
|
@ -6,8 +6,6 @@ jsId: NAMECHEAP
|
||||||
|
|
||||||
# Namecheap Provider
|
# Namecheap Provider
|
||||||
|
|
||||||
Namecheap only provides a registrar provider implementation.
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
In your providers config json file you must provide your Namecheap api
|
In your providers config json file you must provide your Namecheap api
|
||||||
|
@ -56,6 +54,20 @@ D("example.tld", REG_NAMECHEAP, DnsProvider(R53),
|
||||||
);
|
);
|
||||||
{%endhighlight%}
|
{%endhighlight%}
|
||||||
|
|
||||||
|
Namecheap provides custom redirect records URL, URL301, and FRAME. These
|
||||||
|
records can be used like any other record:
|
||||||
|
|
||||||
|
{% highlight js %}
|
||||||
|
var REG_NAMECHEAP = NewRegistrar("namecheap","NAMECHEAP");
|
||||||
|
var NAMECHEAP = NewDnsProvider("namecheap","NAMECHEAP");
|
||||||
|
|
||||||
|
D("example.tld", REG_NAMECHEAP, DnsProvider(NAMECHEAP),
|
||||||
|
URL('@', 'http://example.com/'),
|
||||||
|
URL('www', 'http://example.com/'),
|
||||||
|
URL301('backup', 'http://backup.example.com/')
|
||||||
|
)
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
## Activation
|
## Activation
|
||||||
|
|
||||||
In order to activate api functionality on your Namecheap account, you must
|
In order to activate api functionality on your Namecheap account, you must
|
||||||
|
|
Loading…
Reference in a new issue