# DNS / URL-Forwarding ## Create a dns-configuration **Introduction** With this request you can create or modify a zonefile at the joker-nameserver. You can add A-Records, CNAME-Records, MX-Records, a nameservice-based Url-forwarding and a frame-based Url-forwarding. Modifing the TTL is not possible. The format of this request is a little bit different from the other requests. Please check the given examples for how to specify the different zonefile-records. **ATTENTION: ** You have to change the nameservers for a domain to the nameservers of joker.com first! - a.ns.joker.com \- b.ns.joker.com \- c.ns.joker.com If you would like to use the joker-nameservice, you will have to use **all** joker-nameservers. It is **not** possible to use the joker-nameservice - for primary nameservice only - for secondarynameservice only **All** joker-nameservers - are configured to deny all zone-fetching requests! - do not query foreign nameservers! **Request Fields** Definition of this request
request-field valid values required
domains0 @fqdn yes
A @a\_record no
CNAME @cname\_record no
MX @mx\_record no
URL @url\_record no
FRAME @url\_record no
Example 1: **create dns-config** (without url-forwarding and without wildcard-matching) subject: create dns-config \[your reference id\] domains0:hansnose.net A:www:194.33.110.19 A:mail:194.33.110.19 A:mail2:194.33.110.20 A:@:194.33.110.10 MX:www.hansnose.net:70:mail.nrw.net MX:www.hansnose.net:80:mail2.nrw.net MX:@:70:mail.hansnose.net MX:@:80:mail2.hansnose.net CNAME:www3:some.other.domain.com Example 2: **create dns-config** (with wildcard-matching) subject: create dns-config \[your reference id\] domains0:hansnose.net A:www:194.33.110.19 A:@:194.33.110.19 A:\*:194.33.110.20 Example 3: **create dns-config** (with dns**-**based url-forwarding) subject: create dns-config \[your reference id\] domains0:hansnose.net A:www:194.33.110.19 A:@:194.33.110.19 URL:www2:http://www.sone.other.domain.com/index.html *(that means, the url within the browserbar is changing to the target address)* Example 4: **create dns-config** (with frame**-**based url-forwarding) subject: create dns-config \[your reference id\] domains0:hansnose.net A:www:194.33.110.19 A:@:194.33.110.19 FRAME:www2:http://www.sone.other.domain.com/index.html *(that means, the url within the browserbar is **not** changing to the target address)* ## Delete a dns-configuration
**Introduction** With this request you can delete a zonefile at the joker-nameserver. **Request fields** mailsubject: delete dns-config \[your reference id\] Definition of this request
request-fieldvalid valuesrequired
domains0@fqdn yes
Example 1: **delete dns-config** subject: delete dns-config \[your reference id\] domains0:hansnose.net
## List a dns-configuration
**Introduction** With this request you can get a listing of a current zonefile. **Request fields** mailsubject: list dns-config \[your reference id\] definition of this request
request-fieldvalid valuesrequired
domains0@fqdnyes
Example 1: **list dns-config** subject: list dns-config \[your reference id\] domains0:hansnose.net