Im hosting my own webspace, how do i wildcard my DNS?

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

Im hosting my own webspace, how do i wildcard my DNS?

Postby femme » Fri Apr 18, 2003 9:30 pm

How do I configure my DNS to be a wildcarded one?
femme
 

kamil

Postby kamil » Mon Apr 21, 2003 2:48 am

Paste your zone file here and I will help you.
kamil
Newbie
Newbie
 
Posts: 2
Joined: Tue Apr 08, 2003 9:12 pm

Thanks kamil

Postby femme » Mon Apr 21, 2003 4:00 pm

im using Webhost Manager and cpanal

following is my DNS zone file


; Modified by Web Host Manager
; Zone File for sgblogs.com

Domain / TTL / Record / Type

sgblogs.com. 14400 IN NS ns1.sonicrealm.com.

sgblogs.com. 14400 IN NS ns2.sonicrealm.com.

sgblogs.com. 14400 IN A 202.91.41.250

localhost.sgblogs.com. 14400 IN A 127.0.0.1

sgblogs.com. 14400 IN MX 0 sgblogs.com

mail 14400 IN CNAME sgblogs.com.

www 14400 IN CNAME sgblogs.com.

ftp 14400 IN A 202.91.41.250

*.sgblogs.com. 14400 IN A 202.91.41.250


The script is at http://www.sgblogs.com/myred
femme
 

Postby Guest » Mon Apr 21, 2003 8:34 pm

Just put:

* IN CNAME sgblogs.com.

....this should work
Guest
 

WHM replied as error

Postby femme » Tue Apr 22, 2003 7:06 pm

I did as you said but my webhost manager replied with this message:



There were errors in the new zone, please press the back button an try again!

* 14400 IN CNAME sgblogs.com
*.sgblogs.com: CNAME and other data
femme
 

Postby Guest » Wed Apr 23, 2003 3:18 am

I dont understand number: 14400 - what does suppose to mean in your zone file?
Guest
 

I have no clue either

Postby femme » Wed Apr 23, 2003 1:09 pm

I have no clue either,
but the title of the field is TTL .
femme
 

Postby Bizzar » Wed Apr 23, 2003 5:56 pm

Hey guys... I saw your other post Femme, I'll deal with that in just a second... Here's some DNS for everyone's enjoyment. This is my main zone that i host most of my sites out of.

Code: Select all
$TTL 38400
@              IN      SOA     ns.bizzarx.com.  bizzar.domain.net. (
                          2003041501
                          10800
                          3600
                          432000
                          38400 )

                   IN      NS        ns.bizzarx.com.
                   IN      MX        10 mail.bizzarx.com.
www            IN      A          68.81.98.210
something    IN      CNAME  www



(For wildcard, take out www and something and only use * IN A IP.IP.IP.IP)

The $TTL = time to live. Every 38400 seconds, my dns will refresh. The main dns server is ns.bizzarx.com (i have a record for this in the zone for bizzarx.com, but I think you can put an IP in there.) Bizzar.domain.net is my email address. It doesn't work with @ symbols for email, so you have to use a dot. The string of numbers below the first line is my serial number for the dns zone. If i make changes, I have to increase this number otherwise when the world asks for my dns, it will think nothing has changed and continue to use the wrong one. The serial break down is (YYYYMMDDxx) Y=Year, M=Month, D=Day, and xx= number of times I've edited it that day (for example, 01, 02, 03, so on.)

Most of the other numbers won't change.

When you get to the IN CNAME, A stuff, this is what should be looked at each time you edit your dns. If you want wildcarded dns, all the dns for that DOMAIN will go to the IP address you specify.

It would read * (or you can do *.domain.com) IN A IP.IP.IP.IP

If your using a management software package (liky mydomain.com) then you need to take the other stuff out (clear out your dns, and only use *.domain.com and point it to your server's IP address).

Your largest problem sounds like too much confusing DNS. IF your domain serves the purpose of other things, you may need to reorganize how you do your website structure.












(BTW, i have an IP and my main dns server listed in this example, I could take it out, but I'm willing to trust everyone who comes to this site. If there are any hack attempts on it, you will be logged/reported and attacked back.) :lol:
Bizzar
Member
Member
 
Posts: 43
Joined: Tue Jan 14, 2003 3:28 pm
Location: Pennsylvania, USA!

thanks bizzar

Postby femme » Wed Apr 23, 2003 7:07 pm

Thanks Bizzar, I'll take a while to digest your reply

:shock:
femme
 

Postby Guest » Wed Apr 23, 2003 7:08 pm

If you are talking about DNS ;]

I will need soon secondary DNS for my domain ;[]
I can exchange my NS if someone wants...
Guest
 

Postby femme » Thu Apr 24, 2003 9:49 pm

Whats that?
femme
 

Postby Bizzar » Fri Apr 25, 2003 8:30 pm

Most sites have secondary (backup) dns servers. It just simply replicates what your first one does. It can be useful in the event of a harddrive failure or network outage on your primary DNS.

I have multiple sites hosting my dns records so even if I lose 1, I still have people coming and going to my sites. however, if my primary goes down, then my web server goes down too and it doesn't matter.

I wouldn't trust someone to exchange dns records though.
Bizzar
Member
Member
 
Posts: 43
Joined: Tue Jan 14, 2003 3:28 pm
Location: Pennsylvania, USA!

Postby Guest » Fri Apr 25, 2003 9:20 pm

Bizzar why did you said that you wouldnt trust anyone>?
Guest
 

grrr

Postby femme » Mon Apr 28, 2003 1:07 am

GRRRRR
it stil doesnt work! and im not giving up

ive played around with the DNS zone

ive tried all of the following and none works:

*.sgblogs.com. in A 127.0.0.1
*.sgblogs.com. in A 202.91.41.250
*.sgblogs.com. in CNAME sgblogs.com.
*.sgblogs.com. in A sgblogs.com.
*.sgblogs.com. in CNAME 202.91.41.250

I really wonder what went wrong...
the redirection script works perfect though.
femme
 

Postby Bizzar » Tue Apr 29, 2003 8:51 pm

I said I WOULD trust people who came here... :P

Femme... I ran a nslookup on sgblogs and here's what i got...

Code: Select all
Non-Authoritative answer:
Name:    sgblogs.com
Address: 202.91.41.250


but when I ran a search on www.sgblogs.com, it came up timed-out. (couldn't find it.)

What does your zone look like?? You can email it to me if you want for review... Bizzar7@hotmail.com

-Biz
Bizzar
Member
Member
 
Posts: 43
Joined: Tue Jan 14, 2003 3:28 pm
Location: Pennsylvania, USA!

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 28 guests

cron