Solved

Pattern based DNS entry

Posted on 2004-10-06
3
442 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now