Hi all,
thanks to all who responded (online and off) to my mx without bind9 question
earlier this weekend. :)
I decided as a result that it would be easier to set up a bind9 service than
otherwise.
I now have installed bind9 on my VPS machine, and as I know very little about
network administration, am posting my setup for all to critique in the hopes of
settling on a useful secure bind9 installation for myself and future VPS users.
I followed this article for its explanation and chroot instructions:
<http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9>
and this bitfolk email trail:
<http://lists.bitfolk.com/lurker/message/20100112.002714.8eac953a.en.html>
to generate the appended config script.
The string 'example.com' needs to be replaced with the domain name, and the
string 'xyz' needs to be replaced by the last number of the
dotted.decimal.IP.address in order to create an operable bind9 setup. The file
is located in '/etc/bind/zones/master/example.com.db'.
TIA,
Max
;
; BIND data file for example.com
;
$TTL 604800
@ SOA ns1.example.com. hostmaster.example.com. (
2010100201 ; Serial - YYYYMMDDXX
7200 ; Refresh - 2hrs
600 ; Retry - 10mins
1209600 ; Expire - 2wks
3600) ; minimum - 1hr
;
; Useful doc for above SOA values:
; http://www.ripe.net/ripe/docs/ripe-203.html
;
NS ns.example.com.
NS a.authns.bitfolk.com.
NS b.authns.bitfolk.com.
NS c.authns.bitfolk.com.
MX 5 mail.example.com.
A 212.13.195.xyz
ns A 212.13.195.xyz
www CNAME example.com.
mail A 212.13.195.xyz
Hi,
thanks to all who replied... (and so quickly!! :)
a followup to this following comment appears below:
+++++++++++++++
----- Forwarded Message ----
From: Jan Henkins
To: Max B
Sent: Fri, October 1, 2010 3:41:18 PM
Subject: Re: [bitfolk] mx without bind?
Hello Max,
If you don't want to run an authoritative DNS server on your VPS, you will
have to find somebody who can. Without correctly set up NS servers for your
domain, MX won't be possible. If you Google long enought, you will find
there are a number of DNS service providers out there that can do it from
free to a minimal fee. Running your own auth DNS using Bind or similar is
not as difficult as you might think, plenty people here doing just that.
+++++++++++++++++
but doesn't that mean running TWO machines? mydomain.com AND smtp.mydomain.com?
that immediately doubles my cost, and triples the trouble... I'm hazy enough on
the DNS hosts networking thing, now you want me to have a slave server in one
domain?? Unless there is a masquerade of which I am unaware...? Help!
Regards,
Max
On 30/09/10 19:21, Max B wrote:
>Hi
>
>I have a functional mail server on my new VPS.
>
>Now I want to propagate mydomainname.com to email servers through the MX
>record, so that people can find 'me(a)mydomainname.com'.
>
>The domain registry has default values of 'mailstore1.secureserver.net'
>and 'smtp.secureserver.net'.
>
>I would like them to point at my VPS, but am unaware of the correct
>strings, which would replace 'mailstore1...' and 'smtp...' above..
>
>I would also like to minimise my sysadmin time, and so would like to
>avoid to be forced to use bind etc on my VPS.
>
>Can anyone help? TIA.
>
>Cheers,
>Max
>
>
>
>
>
>_______________________________________________
>users mailing list
>users(a)lists.bitfolk.com
>https://lists.bitfolk.com/mailman/listinfo/users
Can I select a preference between IP versions?
I have an app in PHP which runs from the shell, is it possible to indicate a
preference as to which IP stack is used?
The destination has today enabled IPv6, however, the route via IPv4 is still
a faster route so would like to use IPv4 in preference but do not wish to
simply drop the IPv6 stack as the routing / speed may well improve over
time.
Hello,
I am interested in playing with IPv6, and see from the website that I
should have this on my VPS already. But it doesn't appear to be
autoconfiguring.
,----
| cripps:~# cat /etc/network/interfaces
| auto lo
| iface lo inet loopback
|
| auto eth0
| iface eth0 inet static
| address 212.13.194.37
| netmask 255.255.254.0
| gateway 212.13.194.1
|
| iface tun0 inet static
| address 10.0.0.1
| netmask 255.0.0.0
| cripps:~# /sbin/ip -6 addr show dev eth0
| 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
| inet6 fe80::216:3eff:fe14:af00/64 scope link
| valid_lft forever preferred_lft forever
| cripps:~# sysctl net.ipv6.conf.default.autoconf
| net.ipv6.conf.default.autoconf = 1
`----
Is the /e/n/i configuration interfering with this somehow? Ideas on
the back of a postcard.
Cheers,
Iain
On 10 September 2010 13:55, Andy Bennett <andyjpb(a)ashurst.eu.org> wrote:
> Hi,
>
> Is anyone here going to Open Tech 2010 in London tomorrow?
I am, plus I'm speaking for a little bit within the "Rewiring The
State" talk about Young Rewired State.
Hi,
Is anyone here going to Open Tech 2010 in London tomorrow?
If so I might see you there and we can have an impromptu and unofficial
bitfolk meetup.
I'll be the one with long hair and a red lanyard.
Regards,
@ndy
--
andyjpb(a)ashurst.eu.org
http://www.ashurst.eu.org/
0x7EBA75FF
Hi,
On the afternoon of the 5th September a customer on curacao
attempted to reboot their VPS and encountered an error. They were
then unable to start their VPS at all.
We were also unable to start the VPS, with a very generic "failed"
error message coming back from Xen. Being unable to start the
customer's service, the customer's VPS was eventually moved to
another server.
On further investigation it's proving impossible to create any new
virtual machine on curacao and I believe it's going to require a
reboot to get back into a working state. This needs to be carried
out ASAP since any customer on curacao who shuts down or reboots
their VPS will currently be unable to start it again.
I am therefore about to reboot curacao, starting at 0030Z (01:30am
UK time). Customer VPSes will experience a clean shut down and later
start up again.
I believe the root cause will be a bug in Xen, and curacao is
already scheduled for a major OS upgrade, which will be
accomplished at a later date by moving all of its customers to new
hardware.
The current uptime is 410 days.
Please accept my apologies for the disruption.
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
Hi,
Is there an issue with the billing panel generating invoices at the moment?
I've just noticed that we haven't received an invoice via email for the next
months service and have just checked in the panel where there would normally
be an unpaid invoice however there isn't one.
Is this just our account or are others having the same issue?
Cheers,
Mark Barnes
Island Geek Ltd
Phone: +44 (0)1983 210065
E-mail: mark.barnes(a)islandgeek.net | Website: http://www.islandgeek.net
<http://www.islandgeek.net/>
I'm gradually getting to grips with administering this here server,
but could do with a bit of advice on SSH setup.
I've had no trouble connecting from anywhere else, but now I can't
connect from a Linux server I'm having to use at work. I'm getting an
'invalid block size' error when I try to connect; searching on the web
indicates that it seems to be related to the versions of SSH being run
at each end, but it isn't immediately apparent to me how to fix it at
my end.
Any hints will be gratefully received...
julian
--
Templeman Consulting Limited
IT Consulting and Training