Opened 10 years ago

Closed 10 years ago

#64 closed (fixed)

DNS for 192.1.242.128/25 PTR zone

Reported by: jbs@bbn.com Owned by: somebody
Priority: major Milestone:
Component: AM Version: SPIRAL5
Keywords: Cc:
Dependencies:

Description (last modified by jbs@bbn.com)

It looks like boss.instageni.gpolab.bbn.com isn't serving the PTR zone for 192.1.242.128/25.

Change History (5)

comment:1 Changed 10 years ago by jbs@bbn.com

Description: modified (diff)
Summary: DNS for 192.1.242.129/25 PTR zoneDNS for 192.1.242.128/25 PTR zone

One symptom is that FOAM can't send mail; when it tries, it gets an error like this:

[22:19:36] jbs@foam:/home/jbs 
+$ cat /opt/foam/log/tasks/send-email-1355455200.031261.log  
------------------------------ 
Version: 0.8.2 
------------------------------ 
JOB: 2c0f3ee6-07a4-483c-9b38-0157effd5004 
{u'template_data': {u'status': u'Approved', u'sliver_urn': u'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15:5e1b4bcb-b6d6-4a75-b03f-11168ca8aa04', u'creation': u'2012-12-14 03:08:25.624948+00:00', u'pend_reason': None, u'expiration': u'2013-02-15 23:00:00+00:00', u'deleted': u'False', u'user': u'urn:publicid:IDN+pgeni.gpolab.bbn.com+user+jbs', u'slice_urn': u'urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+jbs15', u'enabled': True, u'site': u'foam.instageni.gpolab.bbn.com', u'email': u'jbs@pgeni.gpolab.bbn.com', u'flowvisor_slice': u'5e1b4bcb-b6d6-4a75-b03f-11168ca8aa04', u'desc': u'JBS 15 OpenFlow resources at BBN InstaGENI.', u'admin_email': u'instageni-foam-admin@gpolab.bbn.com', u'ref': None, u'id': 2, u'uuid': u'5e1b4bcb-b6d6-4a75-b03f-11168ca8aa04'}, '__jobid': '2c0f3ee6-07a4-483c-9b38-0157effd5004', u'email_info': {u'reply-to': u'', u'from': u'InstaGENI FOAM at BBN <instageni-foam-admin@gpolab.bbn.com>"', u'smtp_server': u'ops.instageni.gpolab.bbn.com'}, u'rcpt_list': u'jbs@pgeni.gpolab.bbn.com', u'event': u'email.event.gapi-deletesliver.exp'} 
[('Subject', 'FOAM sliver deleted'), ('To', u'jbs@pgeni.gpolab.bbn.com'), ('From', u'InstaGENI FOAM at BBN <instageni-foam-admin@gpolab.bbn.com>"')] 
Traceback (most recent call last): 
  File "/opt/foam/lib/foam/task.py", line 262, in <module> 
    task_func(opts) 
  File "/opt/foam/lib/foam/task.py", line 174, in taskSendEmail 
    s.sendmail(msg["From"], msg["To"], msg.as_string()) 
  File "/usr/lib/python2.7/smtplib.py", line 733, in sendmail 
    raise SMTPRecipientsRefused(senderrs) 
SMTPRecipientsRefused: {u'jbs@pgeni.gpolab.bbn.com': (550, '5.7.1 <jbs@pgeni.gpolab.bbn.com>... Relaying denied. IP name lookup failed [192.1.242.134]')} 

We've delegated the partial PTR zone in (what I think of as) the usual way, but lemme know if you need more info about what we've got on our side and what you need on yours.

Also, fixing a typo in the description of the ticket.

comment:2 Changed 10 years ago by jbs@bbn.com

Description: modified (diff)

Oops, also, it's boss who's the nameserver, not ops.

comment:3 Changed 10 years ago by jbs@bbn.com

Leigh said:

> It looks like boss.instageni.gpolab.bbn.com isn't serving the PTR zone for
> 192.1.242.128/25.

I did this on your ops node, which I think means that boss is
serving it. Maybe your upstream is not configured properly?

{6} ops$ nslookup 192.1.242.140
Server:         192.1.242.132
Address:        192.1.242.132#53

140.242.1.192.in-addr.arpa      name = pc1.instageni.gpolab.bbn.com.

So, what are you actually serving? If you're serving all of 242.1.192.in-addr.arpa, that's wrong, because half of that is delegated to ExoGENI.

(And indeed, from my desktop:

[13:37:07] jbs@anubis:/home/jbs
+$ host 192.1.242.3
3.242.1.192.in-addr.arpa domain name pointer bbn-hn.exogeni.gpolab.bbn.com.

But from ops.instageni.gpolab.bbn.com:

[13:37:21] jbs@ops.instageni.gpolab.bbn.com:/users/jbs
+$ host 192.1.242.3
Host 3.242.1.192.in-addr.arpa. not found: 3(NXDOMAIN)

That's presumably because you're serving the whole zone, but not including the records that aren't yours.)

I think you need to serve 129/25.242.1.192.in-addr.arpa, which is what our server is configured to delegate to you:

129/25               IN   NS      ns.instageni.gpolab.bbn.com. 
129/25               IN   NS      ns.emulab.net. 
$GENERATE 129-255 $  IN   CNAME   $.129/25.242.1.192.in-addr.arpa. 

If it's not clear what that does, let me know and I can clarify.

comment:4 Changed 10 years ago by jbs@bbn.com

Leigh says:

> If it's not clear what that does, let me know and I can clarify.

I got it. Should be fixed ...

And indeed it is! I can look up addresses and get names:

[14:30:38] jbs@anubis:/home/jbs
+$ host 192.1.242.141
141.242.1.192.in-addr.arpa is an alias for 141.129/25.242.1.192.in-addr.arpa.
141.129/25.242.1.192.in-addr.arpa domain name pointer pc2.instageni.gpolab.bbn.com.

Hmm, FOAM still can't send mail, though; same error as before:

SMTPRecipientsRefused: {u'instageni-foam-admin@gpolab.bbn.com': (550, '5.7.1 <instageni-foam-admin@gpolab.bbn.com>... Relaying denied. IP name lookup failed [192.1.242.134]')}

And I can't look up that address:

[14:32:25] jbs@anubis:/home/jbs
+$ host 192.1.242.134
Host 134.242.1.192.in-addr.arpa. not found: 3(NXDOMAIN)

...even from boss itself:

[14:33:32] jbs@boss.instageni.gpolab.bbn.com:/users/jbs
+$ host 192.1.242.134
Host 134.242.1.192.in-addr.arpa. not found: 3(NXDOMAIN)

That's the FOAM VM, if it wasn't obvious:

[14:33:55] jbs@anubis:/home/jbs
+$ host foam.instageni.gpolab.bbn.com
foam.instageni.gpolab.bbn.com has address 192.1.242.134

Does that need to be added statically?

comment:5 Changed 10 years ago by jbs@bbn.com

Resolution: fixed
Status: newclosed

Leigh changed something, and it looks good now:

[14:30:39] jbs@anubis:/home/jbs
+$ host 192.1.242.134
134.242.1.192.in-addr.arpa is an alias for 134.129/25.242.1.192.in-addr.arpa.
134.129/25.242.1.192.in-addr.arpa domain name pointer foam.instageni.gpolab.bbn.com.

And mail from FOAM works, so that's it for this one.

Note: See TracTickets for help on using tickets.