[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] default DNS for inbound requests? [fix]



Erm. Just woke up!
Now after someone replied to you, I see that I got you wrong :)

Ok to achieve what you need, open /etc/named.conf, and lookup the zone
(domain) you want to enable this on.

It should look like that:

zone "domain.com" { type master; file "pri.domain.com"; };
ok, see "pri.domain.com" ? that's the file that contains the zone (domain)
information.
you'll need to go to /etc/named (at least on a RaQ3, if the file is not
there, type "locate filename" and it'll tell you where it's on your box.
now, DON'T edit that file! it'll work, but the next time you save
modifications to DNS via the control panel, it'll be OVERWRITTEN!
instead, create a file called pri.domain.com.include (a file with the same
name, with ".include" added in the end.
Inside that file, enter this:

*	in	a	1.2.3.4
where 1.2.3.4 is the IP you want all queries who couldn't be resolved
through the main domain data, to be resolved as.

save the file.
now go to DNS settings in the control panel and hit Save Changes
the RaQ will see your file, and include it's contents to the zonefile, and
you should be having it working... I hope :)

sorry if there are spelling mistakes or stuff like that. as I said, I just
woke up :)

  Best regards,
     shimi [mailto:shimi@xxxxxxxxxxxxxxxx]


----

Some quotes:

   "Outlook is a massive flaming horrid blatant security violation, that
    also happens to be a mail reader."                                   

   "There are two major products that come out of Berkeley: LSD and BSD.     
    We don't believe this to be a coincidence."
          -- Jeremy S. Anderson

 Windows: "Where do you want to go today?"
   Linux: "Where do you want to go tomorrow?"
     BSD: "Are you guys coming or what?"

On Sun, 25 Mar 2001, Greg Hewitt-Long wrote:

> Is it possible to setup the RAQ3 to accept serve DNS for domains not configured specifically, and route them to a 'default' domain?
> 
> ie, setup the default as myparkeddomain.fred.com and have all DNS queries for records not specifically set point to the parking spot?
> 
> I hope I made it clear - I know what I need - I just can't articulate it!
> 
> tia
> 
> Greg
> -- 
> http://www.webyourbusiness.com/
> Providers of E-Commerce Software &
> Web Design Consultancy and Services.
> PH: (970)266-0195 FAX: (970)266-0158
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>