being able to map http://www.mycompany.com to http://mycompany.com

Derek J. Balling dredd at megacity.org
Wed Mar 28 23:29:33 UTC 2001


At 5:10 PM -0600 3/28/01, Philip J. Priest wrote:
>How to you configure BIND to be able to do this.  We have some customers who
>are asking me they can do http://yahoo.com and get to yahoo's site.
>
>this is prolly in the archive but i couldnt find it.

All it takes is some A-records.

$ dig yahoo.com a

; <<>> DiG 9.1.1rc6 <<>> yahoo.com a
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9102
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;yahoo.com.                     IN      A

;; ANSWER SECTION:
yahoo.com.              1800    IN      A       216.115.108.243
yahoo.com.              1800    IN      A       216.115.108.245


-- 
+---------------------+-----------------------------------------+
| dredd at megacity.org  | "Conan! What is best in life?"          |
|  Derek J. Balling   | "To crush your enemies, see them        |
|                     |    driven before you, and to hear the   |
|                     |    lamentation of their women!"         |
+---------------------+-----------------------------------------+


More information about the bind-users mailing list