RE: Catch ALL Setup

2009-02-18 Thread James Pratt


 -Original Message-
 From: bind-users-boun...@lists.isc.org
[mailto:bind-users-boun...@lists.isc.org] On
 Behalf Of Sven Eschenberg
 Sent: Tuesday, February 17, 2009 11:28 PM
 To: bind-users@lists.isc.org
 Subject: Catch ALL Setup
 
 Dear list,
 
 I tried googling about a Catch-All setup for a DNS, with little
success.
 I tried messing around with some zone/hint files in an isolated setup,
 but without any success.
 
 What I am trying to achieve is the following:
 
 No matter which host/name is looked up, the DNS should spit out the
same
 IP address. The intention is to bring the users to a specific
 webserver/webpage, not matter what web page the intend to surf to, for
 the easiness of setting up their connection. The basic idea is,
 unauthenticated clients will be put in an isolated network, users then
 pop up their web browser, will land on a specific webpage with
 instructions on which steps they need to take, to get proper access.
 
 I tried to create a * zone, which seems to be ignored by bind, or
 rather bind doesn't like the contents of the zone file.
 
 I'd appreciate any pointer to some information, how I can tweak bind
to
 do such a thing.
 
 With best regards
 
 -Sven

Sven -

Use the same/normal domain.com zone file, but make an A record like
this:

*.wildcard.com. IN  A   192.149.109.1

(replace above with your stuff, then xxx.wildcard.com should work for
any request). 

Cheers,
jamie
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Catch ALL Setup

2009-02-18 Thread Stacey Jonathan Marshall

On 02/18/09 05:19, Mark Andrews wrote:

$ORIGIN .
@ 0 SOA ...
@ 0 NS ...
* 0 A 1.2.3.4
  
Just be careful of what you wish for, don't come back here saying that 
your resolver search path is no longer working ;-)


To explain, lets say you use the above in example.com and configure 
clients with 'search example.com another.com someother.com' in 
resolv.conf. A resolver looking for 'test', hoping to find it as 
'test.another.com' would query the name server for test.example.com 
first and get back 'test.example.com IN A 1.2.3.4.'.


regards,
Stacey

In message 499b8e5a.5010...@whgl.uni-frankfurt.de, Sven Eschenberg writes:
  

Dear list,

I tried googling about a Catch-All setup for a DNS, with little success. 
I tried messing around with some zone/hint files in an isolated setup, 
but without any success.


What I am trying to achieve is the following:

No matter which host/name is looked up, the DNS should spit out the same 
IP address. The intention is to bring the users to a specific 
webserver/webpage, not matter what web page the intend to surf to, for 
the easiness of setting up their connection. The basic idea is, 
unauthenticated clients will be put in an isolated network, users then 
pop up their web browser, will land on a specific webpage with 
instructions on which steps they need to take, to get proper access.


I tried to create a * zone, which seems to be ignored by bind, or 
rather bind doesn't like the contents of the zone file.


I'd appreciate any pointer to some information, how I can tweak bind to 
do such a thing.


With best regards

-Sven
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users



___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: Catch ALL Setup

2009-02-18 Thread Mark Andrews

In message 1234976434.12081.26.ca...@d410-heron, Niall O'Reilly writes:
 On Wed, 2009-02-18 at 16:19 +1100, Mark Andrews wrote:
  
  $ORIGIN .
  @ 0 SOA ...
  @ 0 NS ...
  * 0 A 1.2.3.4
 
   That may be too minimal.
   I found I needed a few couple of extra wildcard records.
 
 $ORIGIN .
 @ IN  SOA . bit-bucket.ucd.ie. (
   2009021302  ; serial
   14400   ; Refresh - 4 hours 
   7200; Retry - 2 hours
   1209600 ; Expire - 14 days
   1800 )  ; Neg. Caching - 30 minutes
 ;
 @ IN  NS  captive.ucd.ie.
 ;
 ; Over-ride wildcard for captive.ucd.ie
 captive.ucd.ie. INTXT Unaddressable
 ;
 ; Target for all name resolution
 netreg.ucd.ie.IN  A   137.43.116.32
 ;
 ; Wildcard alias
 * IN  CNAME   netreg.ucd.ie.
 ;
 ; Wildcards otherwise masked by empty non-terminals
 *.ie. IN  CNAME   netreg.ucd.ie.
 *.ucd.ie. IN  CNAME   netreg.ucd.ie.
 
   /Niall

Well if you want to go to such a complicated setup then yes
you need to add the extra wildcards.  You also need to add
additional address records which you are missing for ie
and ucd.ie.

The OP said that *everything* had to resolve to the one
address.  Everything includes the nameserver.  The only
thing that doesn't resolve is the root and I think one can
get by without that resolving to a address.

Mark

 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: mark_andr...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Catch ALL Setup

2009-02-17 Thread Sven Eschenberg

Dear list,

I tried googling about a Catch-All setup for a DNS, with little success. 
I tried messing around with some zone/hint files in an isolated setup, 
but without any success.


What I am trying to achieve is the following:

No matter which host/name is looked up, the DNS should spit out the same 
IP address. The intention is to bring the users to a specific 
webserver/webpage, not matter what web page the intend to surf to, for 
the easiness of setting up their connection. The basic idea is, 
unauthenticated clients will be put in an isolated network, users then 
pop up their web browser, will land on a specific webpage with 
instructions on which steps they need to take, to get proper access.


I tried to create a * zone, which seems to be ignored by bind, or 
rather bind doesn't like the contents of the zone file.


I'd appreciate any pointer to some information, how I can tweak bind to 
do such a thing.


With best regards

-Sven
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users