|
Vyhledávání |
2 ways
If you wish to manage a domain on your own server, you need to configure a DNS server. In this case log into the manager, choose a domain, then Domains & DNS, DNS server add your server: nsXXX.ovh.net as NS type. Now start a service on the server, you may use Bind or other name server for that. The server should be configured in the way that our nsXXX.ovh.net is a primary and sdns1.ovh.net is secondary. Example of configuration: /etc/resolv.conf nameserver 127.0.0.1 #localhost nameserver 213.251.188.140 #sdns1.ovh.net search /etc/named.conf options { directory "/var/named"; pid-file "/var/run/named/named.pid"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "domena.com" { type master; file "domena.com"; allow-transfer { common-allow-transfer; }; }; /var/named/domena.com $TTL 3600 @ IN SOA domena.com. root.nsXXX.ovh.net. ( 200602131 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 3600 ) ; Minimum domena.com. IN A 111.222.33.44 www.domena.com. IN CNAME domena.com. ftp.domena.com. IN CNAME domena.com. More information you may find in Bind documentation. |