Contributed by sean on from the another-perspective-is-better-than-none dept.
For any beginners to setting up an OpenBSD server (and for myself
next time I have to do this) I have written a few notes here
http://www.millstream.com/server.html
that detail how I configured my little OpenBSD 3.5 ADSL
connected server.
I (sean) would just like to suggest people to use rc.conf.local instead of making changes to rc.conf. As well it would probably be a good practice to backup the original configuration files before you change them (ie. cp /etc/foo /etc/foo.original). Save yourself a headache.
(Comments are closed)
By Anonymous Coward (65.167.23.134) on
Or use RCS. It's much easier than keeping track of all the rc.conf.whatever files. And most of the changes are YES/NO or something similar, usually easy to keep track of.
Comments
By Anonymous Coward (140.99.30.236) on
Comments
By Anonymous Coward (65.167.23.134) on
By Anonymous Coward (66.80.107.196) on
By Anonymous Coward (142.179.156.134) on
Put EVERYTHING in rc.conf. Then there's no ambiguity whatsoever.
Seriously. Do you see an /etc/daily.local, /etc/inetd.local /etc/pf.conf.local?
bleah.
Comments
By krh (141.211.62.118) on
I like having a record of the defaults. This is important when I screw things up. With something like pf.conf, this is not so important, because the default will probably not do me much good. With rc.conf, this can be very important.
Additionally, rc.conf changes between releases. It's easier to keep your changes in rc.conf.local, because then you can overwrite rc.conf, knowing that your site-specific configuration will be preserved.
Comments
By FSCKER (213.51.48.55) on
By thom (62.167.73.79) on
Of course there is a daily.conf.local. See what daily.conf says right at the top:
It is much better to fiddle with *.local files than the original. Just think about updating.
By Juanjo (84.120.176.33) on http://blackshell.usebox.net/
I don't know what about NetBSD... but just think when you update your system... your local conf is safe, thus you can install safely the new rc.conf of the new system release.
By Paddy Newman (195.8.70.200) on
If you were to update your /etc directory as part of an upgrade you would overide any changes made to your /etc/rc.conf.
The other advarntage is that by leaving your /etc/rc.conf untouched you have a reference of all the available options and their default values.
-paddy
Comments
By Richard Kelsall (81.2.66.14) r.kelsall@millstream.com on
Thanks for the feedback. I've added a bit to the systrace
section about backing up these files and how you should use
the rc.conf.local file for upgrade reasons.
Richard.
By jtorin (217.215.193.248) spmkll1 <on> myrealbox <spot> com on
You ofcourse use mergemaster for merging in changes to your local files. Because there isn't a '.local' for every configuration file in /etc...
I use rc.conf.local nonetheless.
By mark (13.16.137.10) on
Comments
By Richard Kelsall (81.2.66.14) r.kelsall@millstream.com on
I've documented all the bits I did. I guess the ADSL stuff
you're interested in must be inside the ready configured router
I bought from my ISP. Maybe I'll get an internal ADSL card
sometime and do this bit too. But you may have to wait some time
for my write-up :-)
Richard.
By Anonymous Coward (196.30.79.198) on
Comments
By Mark (13.16.137.10) on
By Anonymous Coward (216.162.215.208) on
Comments
By Richard Kelsall (81.2.66.14) r.kelsall@millstream.com on
gave up. I don't even understand why there are PTR resource
records as distinct from ordinary domain names. Why isn't reverse
DNS the same as forward DNS but a different domain name?
(I did read the RFCs.) Maybe someone clever can explain.
Richard.
Comments
By Anonymous Coward (216.162.215.208) on
Comments
By Anonymous Coward (216.162.215.208) on
You're right, on the surface it seems like PTR could be just like A records. I don't know the technical reasons they're different.
I think the following should work for you. Note that violet does need its own zone and file since it's in a different class C address. Maybe you could basically make the zone be a class B address space and bring them under one roof.
File named.conf-
File db.81.2.66 --