Solved

Pattern based DNS entry

Posted on 2004-10-06
3
450 Views
Last Modified: 2010-05-18
Whenever a URL is typed with a extension of .mirror.sytes.org the request is directed to 62.3.254.150 i.e www.google.com.mirror.sytes.org, www.yahoo.com.mirror.sytes.org. And in this site they provide the mirror image of the original site. Hows is it possible to have the DNS return a particular IP for URLs ends with a string .mirror.sytes.org. Is there any concept like pattern based DNS entry?
0
Comment
Question by:jacobselvin
  • 2
3 Comments
 
LVL 16

Expert Comment

by:The--Captain
ID: 12246330
Wildcard DNS is done all the time - for another example type your.name.isgay.com - I apologize in advance if that example offends anyone - it's the first example I can think of off the top of my head aside from Verisign's Sitefinder (which has thankfully been disabled, hopefully for good)

While bind 9 from ISC (Internet Systems Consortium) has no difficulties handling DNS wildcards, I am uncertain as to whether or not Microsoft DNS/AD would readily do this.

Hope that helps.

Cheers,
-Jon
0
 

Author Comment

by:jacobselvin
ID: 12255030
Hi Jon,
    Does it mean that when a URL is submitted to a DNS Server it first tries to match it with some patterns ( like *.mirror.sytes.org, *.isgay.com ) and if it's not able to find a one then it'll look for a exact match and returns the corresponding IP address. Any idea how such entries are made into DNS server?
Thanx,
- Jacob
0
 
LVL 16

Accepted Solution

by:
The--Captain earned 250 total points
ID: 12256645
>Does it mean that when a URL is submitted to a DNS Server it first tries to match it with some patterns ( like *.mirror.sytes.org,
>*.isgay.com ) and if it's not able to find a one then it'll look for a exact match and returns the corresponding IP address?

Actually, I think it moves from a most-specific to less-specific (as most pattern matchers attempt to do), which would be opposite of your description above.

>Any idea how such entries are made into DNS server?

In bind, you simply add an asterisk (*) in your zone file to match anything, i.e.

*.example.com.     IN     MX      5 mail.example.com.

or in your in-addr.arpa zone file

*         IN      PTR   too-lazy-to-configure-reverse-dns.example.com.

Cheers,
-Jon

P.S.  Try googling "bind dns wildcard" (without the quotes) to find out more about this...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how should I extend my cat5 cable by 20 feet? 11 71
Cisco WAP POE power 28 72
Bandwidth issues? 5 28
Windows DNS Server Caching 3 28
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question