Re: Single machine VPS

2011-10-21 Thread Nicolás Aragón Lobo

Hi,

2011/10/21 Lyle Giese :
> > On 10/20/11 10:12, Nico Aragón wrote:
>> >> Seems correct to me, but it doesn't work anyway.
>> >>
> >
> > parts seem to work:

Without the www.? At work it's the only that works. From my current
ISP none works :-(

>> After some time, I return to the old mastery. For that matter, 
recover the retro look. It is empty, soon more.


It'd be "the old personal domain". Actually "mastery" sounds better,
but ironic... I'm giving up. Thanks anyway.

--
saludos,

Nico Aragón
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Single machine VPS

2011-10-20 Thread Nico Aragón
Hello,

Thank you Lyle and also Jeff for the answers!

2011/10/17 Lyle Giese :
> Looks like your zone file is fine.  But to check it, run
>
> dig axfr nicoaragon.com
>
> and make sure the output matches your expectations.

Well, to be honest I don't know what I should expect, the output is like this:

**
root@vps17744:~# dig axfr nicoaragon.com

; <<>> DiG 9.7.3 <<>> axfr nicoaragon.com
;; global options: +cmd
nicoaragon.com. 604800  IN  SOA www.nicoaragon.com.
root.nicoaragon.com. 2007031002 28800 3600 604800 38400
nicoaragon.com. 604800  IN  NS  www.nicoaragon.com.
nicoaragon.com. 604800  IN  A   46.105.24.194
nicoaragon.com. 604800  IN  MX  10 www.nicoaragon.com.
www.nicoaragon.com. 604800  IN  A   46.105.24.194
nicoaragon.com. 604800  IN  SOA www.nicoaragon.com.
root.nicoaragon.com. 2007031002 28800 3600 604800 38400
;; Query time: 39 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 20 16:44:18 2011
;; XFR size: 6 records (messages 1, bytes 175)
**

Seems correct to me, but it doesn't work anyway.

-- 
saludos,

    Nico Aragón
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Single machine VPS

2011-10-20 Thread Nico Aragón
2011/10/17  :
> Nico wrote on 10/17/2011 06:59:22 AM:
>
>> nicoaragon.com. IN NS www.nicoaragon.com.
>> IN A 46.105.24.194
>> www.nicoaragon.com. IN MX 10 www.nicoaragon.com.Hello Bill,

(Sorry, I first answered to your private address, I'm now reposting to the list)

Hello,

2011/10/17  :
> Nico wrote on 10/17/2011 06:59:22 AM:
>
>> nicoaragon.com. IN NS www.nicoaragon.com.
>> IN A 46.105.24.194
>> www.nicoaragon.com. IN MX 10 www.nicoaragon.com.
>> nicoaragon.com. IN MX 10 www.nicoaragon.com.
>
> The second line either needs to be indented to inherit the name from the
> previous record, or needs to have the name specified ie.:
>
> nicoaragon.com.   IN A 46.105.24.194

Thank you for the response. I had not answered earlier because I was
waiting for the results to be propagated. It doesn't seem to have
worked. I changed it to:

*

$TTL 604800

nicoaragon.com. IN SOA www.nicoaragon.com. root.nicoaragon.com. (
   2007031002
   28800
   3600
   604800
   38400
)

nicoaragon.com. IN NS www.nicoaragon.com.
nicoaragon.com. IN A 46.105.24.194
nicoaragon.com. IN MX 10 www.nicoaragon.com.

www IN A 46.105.24.194

*

>From the VPS the dig query works both for www.nicoaragon.com and
nicoaragon.com alone. But from here it only works for
www.nicoaragon.com. Worse: from my phone neither work. I suspect
there's another external configuration at fault. The registrar's form
won't let me specify the VPS as the first DNS server. It changes the
order so the hosting provider's DNS server is put in the first place
and the VPS the second.

I also changed the MX record to remove the "www.", but I guess I'll
know the results once I install the mail server.

It seems that I've explained myself poorly. I don't really want to
have a "www." at all. The only reason I put it there was because all
the examples came with machine names and I was afraid to remove it
completely, ignoring the syntax.

--
saludos,

Nico Aragón
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


Re: Single machine VPS

2011-10-17 Thread Lyle Giese

On 10/17/2011 5:59 AM, Nico Aragón wrote:

Hello,

I'm new to Bind. My previous registrar (or was it the hosting
provider?) was so kind to manage DNS for me. But now I'm required to
configure a DNS server in the very same VPS that hosts the HTTP and
mail server.

I've managed to set it running and (apparently) working after reading
some quick tutorials and a good deal of trial/error. A little issue
persists: I'd like the domain to be reached through HTTP as
"nicoaragon.com", but it only works as "www.nicoaragon.com". The
examples are all about configuration with several machines, so I did
my best to adapt them. But I'm stuck now and a little afraid to touch
and lose what already works.

I'm using bind9 in ubuntu 11.04 server. A forwarder is set in the
options file. The rest of the configuration is like this:

-
named.conf.local:

zone "nicoaragon.com" {
 type master;
 file "/etc/bind/zones/nicoaragon.com.zone";
};

zone "24.105.46.in-addr.arpa" {
 type master;
 notify no;
 file "/etc/bind/zones/rev.24.105.46.in-addr.arpa";
};

-
nicoaragon.com.zone:

$TTL 604800

nicoaragon.com. IN SOA www.nicoaragon.com. root.nicoaragon.com. (
 2007031001
 28800
 3600
 604800
 38400
)

nicoaragon.com. IN NS www.nicoaragon.com.
IN A 46.105.24.194
www.nicoaragon.com. IN MX 10 www.nicoaragon.com.
nicoaragon.com. IN MX 10 www.nicoaragon.com.

www IN A 46.105.24.194

-
rev.24.105.46.in-addr.arpa

$TTL 604800
@ IN SOA nicoaragon.com. root.nicoaragon.com. (
 2001180909 ; serial number
 3h ; refresh
 15m; update retry
 3w ; expiry
 3h )   ; minimum

@ IN NS www.
194 IN PTR www.nicoaragon.com.

-

Also make sure your webserver will serve up your website when asking for 
http://www.nicoaragon.com and for http://nicoaragon.com


Looks like your zone file is fine.  But to check it, run

dig axfr nicoaragon.com

and make sure the output matches your expectations.

Lyle

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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


RE: Single machine VPS

2011-10-17 Thread Lightner, Jeff
Create an entry for just the domain and be sure to add a dot to the end so it 
doesn't append the domain name:

nicaragon.com.  IN A 46.105.24.194
www IN A 46.105.24.194

Without the dot the domain is appended so that nicargon.com without a dot would 
actually be seen as nicaragon.com.nicaragon.com.   With the dot it is seen 
simply as nicaragon.com.

www in the above is NOT completed with a dot so that it is actually seen as 
www.nicaragon.com.





-Original Message-
From: bind-users-bounces+jlightner=water@lists.isc.org 
[mailto:bind-users-bounces+jlightner=water@lists.isc.org] On Behalf Of Nico 
Aragón
Sent: Monday, October 17, 2011 6:59 AM
To: bind-users@lists.isc.org
Subject: Single machine VPS

Hello,

I'm new to Bind. My previous registrar (or was it the hosting
provider?) was so kind to manage DNS for me. But now I'm required to
configure a DNS server in the very same VPS that hosts the HTTP and
mail server.

I've managed to set it running and (apparently) working after reading
some quick tutorials and a good deal of trial/error. A little issue
persists: I'd like the domain to be reached through HTTP as
"nicoaragon.com", but it only works as "www.nicoaragon.com". The
examples are all about configuration with several machines, so I did
my best to adapt them. But I'm stuck now and a little afraid to touch
and lose what already works.

I'm using bind9 in ubuntu 11.04 server. A forwarder is set in the
options file. The rest of the configuration is like this:

-
named.conf.local:

zone "nicoaragon.com" {
type master;
file "/etc/bind/zones/nicoaragon.com.zone";
};

zone "24.105.46.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/zones/rev.24.105.46.in-addr.arpa";
};

-
nicoaragon.com.zone:

$TTL 604800

nicoaragon.com. IN SOA www.nicoaragon.com. root.nicoaragon.com. (
2007031001
28800
3600
604800
38400
)

nicoaragon.com. IN NS www.nicoaragon.com.
IN A 46.105.24.194
www.nicoaragon.com. IN MX 10 www.nicoaragon.com.
nicoaragon.com. IN MX 10 www.nicoaragon.com.

www IN A 46.105.24.194

-
rev.24.105.46.in-addr.arpa

$TTL 604800
@ IN SOA nicoaragon.com. root.nicoaragon.com. (
2001180909 ; serial number
3h ; refresh
15m; update retry
3w ; expiry
3h )   ; minimum

@ IN NS www.
194 IN PTR www.nicoaragon.com.

-

--
TIA,

Nico Aragón
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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




Athena®, Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer

-
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
--

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

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