Gossamer Forum
Quote Reply
Zonefile
Hi,

At my hostongprovider I can/need to maintain my own zonefile. Currently everything is set like the following code-block. This means you can access my domain with http://what_you_would_like.domain.com. The problem is that due to some scripts and my statistical software I would only like to allow http://www.domain.com ! All other pre-fixes should get an error ' can find host'.

Only how? Or where can I find usefull references?
Code:
$TTL 86400
@ IN SOA ns1.provider.com. hostmaster.provider.com. (2002031317 14400 3600 2w 1d)
TXT "NL Internet"
NS ns1.provider.com.
NS ns2.provider.com.
localhost A 127.0.0.1
MX 10 mail
domain.com. A 217.115.192.11
mail A 217.115.192.11
* A 217.115.192.11

Last edited by:

cK: May 31, 2002, 11:03 AM
Quote Reply
Re: [cK] Zonefile In reply to
Mmm just change * to www

Last edited by:

Paul: May 31, 2002, 11:28 AM
Quote Reply
Re: [cK] Zonefile In reply to
Change the following line:

Code:
www A 217.115.192.11

- wil
Quote Reply
Re: [Wil] Zonefile In reply to
Change or add ? Thanks in advance.
Quote Reply
Re: [cK] Zonefile In reply to
Change if you only want people to access via www.domain.com

Add if you want to allow people to access via *.domain.com

- wil
Quote Reply
Re: [Wil] Zonefile In reply to
Didn't I say that 3 hours earlier?...there is an echo Tongue
Quote Reply
Re: [Paul] Zonefile In reply to
Sorry, I've been logging in on the move for the past few days, so I haven't really kept track of threads very well. I'm home now, so things should start to get better :)

- wil
Quote Reply
Re: [Wil] Zonefile In reply to
Is there a way to check it everthing should work? I changed * into www, but now (about 24 hours later) nothing happend changed yet. I'm dying to test this out. Please don't let me I'll need to wait longer Frown

Last time I tried to fix this visitors saw the default page of my hoster if they entered something else then www. I'm wondering if this will happen again?!
Quote Reply
Re: [cK] Zonefile In reply to
Did you restart the dns server after making the change?
Quote Reply
Re: [Paul] Zonefile In reply to
My hoster says if the FAQ: every 2 hours it's updated.
Quote Reply
Re: [cK] Zonefile In reply to
Did you update your zonefile's serial number? That would mean changing this:
2002031317
to something like:
2002060101
Which is the recommended format of:
YYYYMMDDnn (nn being a revision number)

Adrian

Last edited by:

brewt: Jun 1, 2002, 5:00 PM
Quote Reply
Re: [brewt] Zonefile In reply to
No, I didn't update the file personally. Just used an online form at the client website of my hoster. Today (4 days later) the settings are changed. (I used dnsstuff.com to check the stettings.) Now my domain cannot be reached at http://blablabla.domain.com or so on........

Only http://www.domain.com and http://domain.com work now, but how only to allow www.domain.com ?!
Quote Reply
Re: [cK] Zonefile In reply to
Why do you only want www?....you may lose traffic if people find domain.com to be dead.

You'd need to remove:

domain.com. A 217.115.192.11

....to only allow www
Quote Reply
Re: [Paul] Zonefile In reply to
Isn't that line for email or ...... ? I don't know, just asking. Don't want to do something wrong and be offline till the next update - 4 days Wink

PS 1 And why is it "domain.com." (watch the secon dot.)
PS 2 mail.domain.com alsow works.. Can I remove mail alsow? Or is this for my mail Crazy

Last edited by:

cK: Jun 4, 2002, 10:13 AM
Quote Reply
Re: [cK] Zonefile In reply to
>>Isn't that line for email or ...... ?<<

No.

>>PS 1 And why is it "domain.com." (watch the secon dot.) <<

Thats just the way the zone file has to be formatted. Emails also require @ changing to .

>>PS 2 mail.domain.com alsow works.. Can I remove mail alsow? Or is this for my mail <<

What do you think? Laugh
Quote Reply
Re: [Paul] Zonefile In reply to
In Reply To:
>>PS 2 mail.domain.com alsow works.. Can I remove mail alsow? Or is this for my mail <<

What do you think? Laugh

I'm still not sure Blush

Why? Because I have a website at another hoster, where eveything works fine, but http://mail.domain.com doesn't exists online.

Last edited by:

cK: Jun 4, 2002, 11:59 AM
Quote Reply
Re: [cK] Zonefile In reply to
You use mail.domain.com in your email client...it just keeps things clear. You can remove the mail line if you want I guess, but then you'll need to change the MX line as currently it is using mail.

Last edited by:

Paul: Jun 4, 2002, 12:11 PM