| Linode Forum https://forum.linode.com/ |
|
| Question about wildcard dns https://forum.linode.com/viewtopic.php?f=19&t=4039 |
Page 1 of 1 |
| Author: | Mmarzex [ Sun Mar 29, 2009 10:41 am ] |
| Post subject: | Question about wildcard dns |
I just transfered over my blog hosting site which uses wildcard dns so I put the wildcard dns entry in the dns manager. It works perfectly and everything but now I have a problem I'm unable to create a dns record for community.avidblog.us. so that I can put forums back up there which they were orginally at. Because community.avidblog.us even though I created the dns record in the dns manager it keeps redirecting to avidblog.us. Is there anything that can be done so that i can use community.avidblog.us for the forums with out having it redirect to avidblog.us. |
|
| Author: | pclissold [ Sun Mar 29, 2009 12:10 pm ] |
| Post subject: | |
I looked at your DNS settings: Code: peter@fremont ~ $ dig @ns1.linode.com any avidblog.us No wildcard? |
|
| Author: | Mmarzex [ Sun Mar 29, 2009 4:09 pm ] |
| Post subject: | |
I know its functioning as its working go to something.avidblog.us your going to be redirected to the avidblog.us or go to community.avidblog.us and you'll see it. I have entered the wildcard entries in dns and its functioning I just need to know why I can't create records for community.avidblog.us so it won't redirect to avidblog.us. |
|
| Author: | Mmarzex [ Sun Mar 29, 2009 7:17 pm ] |
| Post subject: | |
Code: $TTL 86400 The records here show that I did put it in. |
|
| Author: | Vance [ Sun Mar 29, 2009 7:39 pm ] |
| Post subject: | |
I don't see an entry for "community" in your zone file. It should be as simple as adding a new A record for it. I just tested this out, and things seem to work as expected (names and numbers changed to protect the guilty). The zone file: Code: $TTL 14440 And results from dig: Code: $ dig example.net any Every subdomain name comes out as 11.22.33.44 except for justatest. I think you won't ever see a wildcard entry from the outside, because it's internal to the nameserver. |
|
| Author: | pclissold [ Sun Mar 29, 2009 7:46 pm ] |
| Post subject: | |
Sorry. My bad - should have used axfr instead of any. If you using apache with virtual hosts - move the catch-all VirtualHost directive so that it occurs after the one for community.avidblog.us. Apache processes the VirtualHost directives in the order it encounters them so you want it to find the community one before that matches the catch-all. |
|
| Author: | tronic [ Sat Apr 18, 2009 2:19 am ] |
| Post subject: | Wildcards not recommended |
For various reasons, but one of them is a reputation-related attack. That makes it way too easy for some disgruntled person or even a total nutjob to set up a blog or website that points to http://<you>-freaking-sucks.<your domain> and get it served up as a valid address that resolves and spits out a web page. Then by some SEO tricks, the ne'er-do-well gets that ranked highly when someone does a search for <your domain>... If you really, really must do wildcards, do so but be aware of some of its risks. If at all possible, it's usually safer to do some rewriting tricks + dns records for the commonly misspelled names. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|