<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
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>www.example.com .... 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 www.example.com</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 href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>