<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can fake the whole example.com if you don't mind keeping the "real"
entries (e.g. <a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>) in synch if they happen to change. Maybe
an automated script could look for the changes and apply them to your
version of the zone.<br>
<br>
If you're not up to that, it gets ugly. The only method that comes to
mind is to define each of the names (e.g. www2.example.com,
www3.example.com) you want to fake as zones by themselves, in your
local DNS. Note that this won't even work if what you're trying to fake
is a CNAME, since you can't have a CNAME at the apex of a zone.<br>
<br>
                                                                       
                                                                       
- Kevin<br>
<br>
<br>
<br>
On 6/23/2010 5:06 PM, Peter Macko wrote:
<blockquote cite="mid:SNT114-W466AA08CF712CAB65443E687C50@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>How
can I "fake" a part of domain?
  <div><br>
  </div>
  <div>Explanation of what I mean:</div>
  <div><br>
  </div>
  <div>- There is example.com domain somewhere on internet (not under
my control) that contains:</div>
  <div><span class="Apple-tab-span" style="white-space: pre;"> </span><a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a>
.... IP: 1.2.3.4</div>
  <div><span class="Apple-tab-span" style="white-space: pre;"> </span>www2.example.com
...<span class="Apple-tab-span" style="white-space: pre;"> </span>IP: 11.22.33.44</div>
  <div><br>
  </div>
  <div>- I have local DNS; and for my local network I fake to have
example.com domain.</div>
  <div><br>
  </div>
  <div>- I would like to configure my local DNS (BIND) to:</div>
  <div><span class="Apple-tab-span" style="white-space: pre;"> </span>1.
return real IP (1.2.3.4) of <a class="moz-txt-link-abbreviated" href="http://www.example.com">www.example.com</a></div>
  <div><span class="Apple-tab-span" style="white-space: pre;"> </span>2.
return fake IP (11.11.11.11) of www2.example.com</div>
  <div><span class="Apple-tab-span" style="white-space: pre;"> </span>3.
return IP (99.99.99.99) of www3.example.com that do not really exists</div>
  <div><br>
  </div>
  <div>No 1. have to forward the request to the real example.com DNS,</div>
  <div>but No 2. and 3. should fake the result.</div>
  <div><br>
  </div>
  <div>Thank you.</div>
  <br>
  <hr>Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
  <a moz-do-not-send="true"
 href="https://signup.live.com/signup.aspx?id=60969" target="_new">Sign
up now.</a>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
bind-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a></pre>
</blockquote>
<br>
</body>
</html>