Mon 6 Mar 2006
Hosting Tricks: How to delegate DNS-management for some subdomain to off-site DNS-server
Posted by Scoundrel under Admin-tips ·
In one of my last posts about cheap hosting unlimited number of domains, I have described how to point your domain to some sub-directory of an existing hosting account. But sometimes hosting provider requires parking of your DNS name for creating aliases in hosting account. For example, hosting platform, created by me and used on Free Adult hosting Servik.com service, requires your domain’s NS-records to be directed to provider’s own DNS-servers. What can you do if you don’t want to park entire domain to provider’s DNS-servers and want to host only one sub-domain on its servers?
As a simple, but very powerful solution, I can suggest following trick.
Let’s see to generic DNS-domain configuration. Generic domain has following records:
- SOA - record with domain contact information, expiring values, etc.
- NS - record(s) with IP addresses of domain’s DNS-servers.
- MX - record(s) with IP or symbolic names of domain’s mail servers.
- A - record(s) with IP addresses of domain and subdomains.
- CNAME - synonyms for A-records.
When you asking your DNS system for resolving some symbolic name to an IP address and this name is some sub-domain name (such as blog.kovyrin.net or mail.google.com), your DNS server trying to find NS-records for this sub-domain (e.g blog.kovyrin.net) and then, if records were not found, it looks for NS servers for parent domain (kovyrin.net). With generic DNS configuration you can’t allow DNS-management of some sub-domain to off-site DNS-server. You can only move entire domain between DNS-servers.
But let’s try to add following records to your DNS-zone:
....
subdomain.domain.com IN NS off-site.dns-server.com.
....
Now, all requests for subdomain.domain.com will be referred to off-site.dns-server.com and this server can freely manage delegated subdomain record by creating another sub-domains or changing this subdomain IP-address.
Tags: DNS
2006-04-05 at 7.55 am
Free adult hosting?
Well does it support pHP?
2006-04-05 at 8.03 am
No. Our hosting supports only static files (images, html, js, css, flash, java-applets).
2006-12-19 at 11.11 am
Вопрос чайника. Являясь пользователем GoDaddy, пытаюсь второй день найти как у GoDaddy для субдомена выполнить вот именно эту вещь
subdomain.domain.com IN NS off-site.dns-server.com.
В панели для Total DNS Control есть только следующие пункты.
A (host)
CNAMES
MX
TXT (Text) - помимо TXT можно создавать SPF record.
Позволяет так же перенаправить сам домен на другой ns сервер, но мне нужно перенаправить только лишь субдомен.
Спасибо.
2006-12-19 at 4.59 pm
Кажется таки домучал и получилось самостоятельно.
2006-12-19 at 5.14 pm
2006-12-19 at 7.25 pm
Обязательно. Только сначало надо выяснить какой из способов сработал.
А то я изменял всего и сразу.
2006-12-22 at 10.19 am
Как ни странно, ниженаписанное помогло и для субдомена.
Просто помимо двух NameService к которым GoDaddy привязал автоматически, просто добавил нужные off-site.dns-server.com. Не удаляя уже имеющиеся. Без каких либо точек.
И в результате если шел на domain.com - открывалась та же страница, что и раньше открывалась, и как собственно и должно быть.
При заходе на subdomain.domain.com попадал уже на другой сервер, в другое место. Что мне и надо было.
To modify your nameservers (DNS), please use the following instructions:
First, log into your account:
. Go to the Go Daddy Account Login Page
. Log in using your account username (which may be the same as your customer number) and password
If you have trouble logging in, our password reset form may help you. You can find this form through the following link:
Password Reset Form
Once logged in, follow these steps:
. Select ‘Manage Domains’ from the ‘Domain Names’ menu at the top of the page.
. Check the box next to the domain(s) you wish to modify.
. Click ‘Nameservers’ from the menu above.
. Click the ‘Custom Nameservers’ tab and enter them in the spaces provided.
. When complete, click ‘Ok’.
. Allow 48 hours for the changes to take effect*.
2008-10-31 at 9.43 pm
Thanks for sharing
regards
adult image host