Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1676] (New) DNS Name Problems with suspicious
      characters #2 ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Aug 2012 03:23:59 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1676] (New) DNS Name Problems
        with    suspicious characters #2
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1676 has been reported by moe kraus.

----------------------------------------
Bug #1676: DNS Name Problems with suspicious characters #2
https://osl.uoregon.edu/redmine/issues/1676

Author: moe kraus
Status: New
Priority: Normal
Assignee: 
Category: DNS
Target version: 1.0
Resolution: 


Hi, 

there is an further bug with a combination of following dns record:

RR: interface-name-.device-name

This is breaking the ip address to dns record association, so I suggest to add 
another regexp statement:

        $name =~ s/-\./\./g;


Kind Regards 

Moe Kraus

--- original bug ---
Hi There,

we experiencing problems with some bad interface names with characters that 
aren't allowed in DNS, like a hash("#") or brackets ("("")").

I replaced the Expression with one that only allows names that can be used as 
DNS name.

*DeviceIpNamesByInt.pm*

# left only valid chars
$name =~ s/[^a-zA-Z0-9\.]/-/g;
# only one minus "-" in row
$name =~ s/[-]+/-/g;
# remove minus from start and end
$name =~ s/^-+|-+$//g;

Cheerz

Moe


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 65, Issue 15
********************************************

Reply via email to