BIND 9 on Windows XP using APACHE SERVER

Will someone please help me? I was previously using a free dns service and now i've decided to host my own DNS since the "free dns service" i was using was allowing other people to use subdomains of my domain without my permission. Currently I am using a different FREE DNS SERVICE PROVIDER. However, when I was trying to get BIND to work, I had my domain name http://getwhatuwant.com pointing to the following name servers:

ns1.getwhatuwant.com

ns2.getwhatuwant.com

I am running http://getwhatuwant.com through port 65254 and i don't know how to configure bind to serve my website through that port.

Below you will find the contents of all of my BIND 9 configuration files. BIND 9 is installed in the following directory: C:\WINDOWS\system32\dns\bin

Here are the locations of all of the BIND 9 configureation files:

C:\WINDOWS\system32\dns\etc\named.conf

C:\WINDOWS\system32\dns\etc\resolv.conf

C:\WINDOWS\system32\dns\etc\rndc.key

C:\WINDOWS\system32\dns\etc\cache.db

C:\WINDOWS\system32\dns\etc\named\zones\24.187.119.190.db

C:\WINDOWS\system32\dns\etc\named\zones\127.0.0.db

C:\WINDOWS\system32\dns\etc\named\zones\getwhatuwant.com.db

C:\WINDOWS\system32\dns\etc\named\run\named.pid

C:\WINDOWS\system32\dns\etc\named\log\named.log

Please help me if you can. I'm sure there are some of you out there who can figure this out in less than 5 minutes. Your knowledge will be very greatly appreciated. THANKS

–-------------------------------------------------------\

CONTENTS OF NAMED.CONF:

// BIND configuration file

options {

directory "c:\windows\system32\dns\etc\named";

// Place additional options here.

listen-on port 65254{ 24.187.119.190; };

};

zone "getwhatuwant.com" in {

type master;

file "c:\windows\system32\dns\etc\named\zones\getwhatuwant.com.db";

};

zone "24.187.119.190.in-addr.arpa" in {

type master;

file "c:\windows\system32\dns\etc\named\zones\24.187.119.190.db";

};

zone "0.0.127.in-addr.arpa" in {

type master;

file "c:\windows\system32\dns\etc\named\zones\127.0.0.db";

};

zone "." in {

type hint;

file "c:\windows\system32\dns\etc\named\cache.db";

};


CONTENTS OF RESOLV.CONF:

domain getwhatuwant.com


CONTENTS OF CACHE.DB:

; This file holds the information on root name servers needed to

; initialize cache of Internet domain name servers

; (e.g. reference this file in the "cache . "

; configuration file of BIND domain name servers).

;

; This file is made available by InterNIC

; under anonymous FTP as

; file /domain/named.root

; on server FTP.INTERNIC.NET

; -OR- RS.INTERNIC.NET

;

; last update: Jan 29, 2004

; related version of root zone: 2004012900

;

;

; formerly NS.INTERNIC.NET

;

. 3600000 IN NS A.ROOT-SERVERS.NET.

A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4

;

; formerly NS1.ISI.EDU

;

. 3600000 NS B.ROOT-SERVERS.NET.

B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201

;

; formerly C.PSI.NET

;

. 3600000 NS C.ROOT-SERVERS.NET.

C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12

;

; formerly TERP.UMD.EDU

;

. 3600000 NS D.ROOT-SERVERS.NET.

D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90

;

; formerly NS.NASA.GOV

;

. 3600000 NS E.ROOT-SERVERS.NET.

E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10

;

; formerly NS.ISC.ORG

;

. 3600000 NS F.ROOT-SERVERS.NET.

F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241

;

; formerly NS.NIC.DDN.MIL

;

. 3600000 NS G.ROOT-SERVERS.NET.

G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4

;

; formerly AOS.ARL.ARMY.MIL

;

. 3600000 NS H.ROOT-SERVERS.NET.

H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53

;

; formerly NIC.NORDU.NET

;

. 3600000 NS I.ROOT-SERVERS.NET.

I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17

;

; operated by VeriSign, Inc.

;

. 3600000 NS J.ROOT-SERVERS.NET.

J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30

;

; operated by RIPE NCC

;

. 3600000 NS K.ROOT-SERVERS.NET.

K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129

;

; operated by ICANN

;

. 3600000 NS L.ROOT-SERVERS.NET.

L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12

;

; operated by WIDE

;

. 3600000 NS M.ROOT-SERVERS.NET.

M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33

; End of File


CONTENTS OF 24.187.119.190.DB:

$TTL 3h

24.187.119.190.in-addr.arpa. IN SOA ns1.getwhatuwant.com. ns2.getwhatuwant.com.(

1 ; Serial

3h ; Refresh after 3 hours

1h ; Retry after 1 hour

1w ; Expire after 1 week

1h ) ; Negative caching TTL of 1 hour

;

;Name servers

;

24.187.119.190.in-addr.arpa. IN NS ns1.getwhatuwant.com.

24.187.119.190.in-addr.arpa. IN NS ns2.getwhatuwant.com.

;

;Addresses point to canonical name

;

1.24.187.119.190.in-addr.arpa. IN PTR ns1.getwhatuwant.com.

2.24.187.119.190.in-addr.arpa. IN PTR ns2.getwhatuwant.com.


CONTENTS OF 127.0.0.DB:

$TTL 3h

0.0.127.in-addr.arpa. IN SOA ns1.getwhatuwant.com. ns2.getwhatuwant.com. (

1 ; Serial

3h ; Refresh after 3 hours

1h ; Retry after 1 hour

1w ; Expire after 1 week

1h ) ; Negative caching TTL of 1 hour

0.0.127.in-addr.arpa. IN NS ns1.getwhatuwant.com.

0.0.127.in-addr.arpa. IN NS ns2.getwhatuwant.com.

1.0.0.127.in-addr.arpa. IN PTR localhost.


CONTENTS OF GETWHATUWANT.COM.DB:

$TTL 3h

getwhatuwant.com. IN SOA ns1.getwhatuwant.com. ns2.getwhatuwant.com. (

1 ; Serial

3h ; Refresh after 3 hours

1h ; Retry after 1 hour

1w ; Expire after 1 week

1h ) ; Negative caching TTL of 1 hour

;

;Name servers

;

getwhatuwant.com. IN NS ns1.getwhatuwant.com.

getwhatUwant.com. IN NS ns2.getwhatUwant.com.

;

;

Addresses for the canonical names

;

localhost.getwhatuwant.com. IN A 127.0.0.1

ns1.getwhatuwant.com. IN A 24.187.119.190

ns2.getwhatuwant.com. IN A 24.187.119.190

;

;

Aliases

;

;bigt.getwhatuwant.com. IN CNAME ns1.getwhatuwant.com.

;dh.getwhatuwant.com. IN CNAME ns2.getwhatuwant.com.

;wh.getwhatuwant.com. IN CNAME ns1.getwhatuwant.com.

;

;

Interface specific names

;

;wh249.movie.edu. IN A 192.249.249.1

;wh253.movie.edu. IN A 192.253.253.1

3 Replies

BIND 9 on Windows XP?

You must be joking? No? Your serious, ok then.

Anyway, do you want bind to serve on port 65254 or

apache to serve on port 65254?

Are you doing connection redirection on your firewall?

If not none of this makes any sense at all.

@GeeMan777:

I am running http://getwhatuwant.com through port 65254 and i don't know how to configure bind to serve my website through that port.

You are VERY confused. Bind has nothing to do with what port you serve a web site on. Bind has nothing to do with Apache.

And your point about others being able create subdomains of your domain if your are using a free DNS service is very strange too.

I just run bind on my linode & use normal ports.

@gmt:

And your point about others being able create subdomains of your domain if your are using a free DNS service is very strange too.

He could be referring to FreeDNS

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct