Coder Social home page Coder Social logo

teemip-zone-mgmt's Introduction

TeemIp Zone Management

TeemIp extension that provides zone management features

Description

This extension brings a DNS dimension to TeemIp. It allows DDI administrators to manage DNS views, zones and their DNS records in close relation with TeemIp objects already defined in the IP space and in the CMDB.

Documentation

Comprehensive documentation can be found on TeemIp’s wiki, namely in the chapter dedicated to the extension:

DNS Zone Management

teemip-zone-mgmt's People

Contributors

xtophe38 avatar

Watchers

 avatar  avatar  avatar

teemip-zone-mgmt's Issues

get an error from create new domain and when trying to open the created one

get an error from create new domain and when trying to open the created one

Error | 747 | Uncaught Error: Call to a member function GetKey() on null in /var/www/html/itop/env-production/teemip-ip-mgmt/src/Hook/IPMgmtExtraMenus.php:287

Stack trace:
#0 /var/www/html/itop/application/utils.inc.php(1571): TeemIp\TeemIp\Extension\IPManagement\Hook\IPMgmtExtraMenus::EnumItems()
#1 /var/www/html/itop/application/displayblock.class.inc.php(2180): utils::GetPopupMenuItemsBlock()
#2 /var/www/html/itop/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php(156): MenuBlock->GetRenderContent()
#3 /var/www/html/itop/sources/Application/UI/Base/Component/DataTable/DataTableUIBlockFactory.php(83): Combodo\iTop\Application\UI\Base\Component\DataTable\DataTableUIBlockFactory::RenderDataTable()
#4 /var/www/html/itop/application/displayblock.class.inc.php(1447): Combodo\iTop\Application\UI\Base\Component\DataTable\DataTableUIBlockFactory::MakeForResult()
#5 /var/www/html/itop/application/displayblock.class.inc.php(768): DisplayBlock->RenderList()
#6 /var/www/html/itop/application/displayblock.class.inc.php(558): DisplayBlock->GetRenderContent()
#7 /var/www/html/itop/application/displayblock.class.inc.php(528): DisplayBlock->GetDisplay()
#8 /var/www/html/itop/env-production/teemip-framework/src/Helper/IPUtils.php(405): DisplayBlock->Display()
#9 /var/www/html/itop/env-production/teemip-network-mgmt/src/Model/_Domain.php(196): TeemIp\TeemIp\Extension\Framework\Helper\IPUtils::DisplayTabContent()
#10 /var/www/html/itop/application/cmdbabstract.class.inc.php(1124): TeemIp\TeemIp\Extension\NetworkManagement\Model_Domain->DisplayBareRelations()
#11 /var/www/html/itop/pages/UI.php(441): cmdbAbstractObject->DisplayDetails()
#12 {main}
thrown | IssueLog |||
array (
'type' => 1,
'file' => '/var/www/html/itop/env-production/teemip-ip-mgmt/src/Hook/IPMgmtExtraMenus.php',
'line' => 287,
)

Delete DNS Aliases on Release

One for the wish list. We have a iTop install with IP management and DNS plugins installed and it has been a great tool for cleaning up our environment.

In my understanding filling in Aliases on the IP Management -> IPv4 Address -> [ip] Properties page, will create CNAME records in DNS pages.
It would be fantastic if these records could also be automatically removed, when the Status Property field was changed to Released or Unassigned. Maybee also consider removing the A record.

MissingQueryArgument when importing Ipv6 records

Not sure if it's a bug or i'm missing something in my environment, but importing ipv6 records from a CSV file, or via web, always throws a MissingQueryArgument error and nothing is imported.

Teemip Version
3.1.4-2312

#Output format: details
#Class: AAAARecord
#Separator: ,
#Qualifier: "
#Charset Encoding:UTF-8
#Date format: <none>
#Localize: no
#Data Size: 505
#Data Lines: 5
#Simulate: 1
#Columns: name, overwrite_zone_ttl, ttl, ip_id->ip, comment, org_id->name, zone_id->name
#Reconciliation Keys: name, ip_id (ip)
#Change tracking comment:
#Issues: 5
#Warnings: 0
#Created: 0
#Updated: 0
#Unchanged: 0
Line;Status;Object Class;Object Id;ip_id (IPv6 Address - ext key);org_id (Organization - ext key);zone_id (Zone - ext key);name (RR Name);overwrite_zone_ttl (Overwrite zone TTL);ttl (TTL);comment (Comment)
0;Issue: Internal error: MissingQueryArgument, Missing query argument: expecting = ip, available = {};n/a;n/a;n/a;n/a;n/a;host.myzone.com.;no;;
....

Csv file

name,overwrite_zone_ttl,ttl,ip_id->ip,comment,org_id->name,zone_id->name
host.myzone.com.,no,,2001:970:5c1c:401:0:0:0:20,,My Org,myzone.com.
....

Import procedure
php teemip/webservices/import.php --auth_user=xxxx--auth_pwd=xxxx--csvfile="myzone.com._AAAA.csv" --class="AAAARecord" --charset="UTF-8" --no_localize=1 --reconciliationkeys="name,ip_id->ip" --simulate=0 --output=details

Larger DNS entries eg. for dkim

At the moment there is a fixed limit of 256 characters per txt entry. Especially for txt records for DKIM in many cases this will be insufficient.

A larger rdata value should then be split into chunks of max. 256 characters per line inside parentheses when displaying the entry for the data file eg.

name._domainkey IN TXT ("v=DKIM1;"
                         "p=MIGfMA0G ... "
                         "oGeLnQg ... "
                         "tdC2UzJ1lW ... "
                         "MmPSPDdQPNUYckcQ2QIDAQAB")

Or in a single line with space separated chunks.

name._domainkey IN TXT "v=DKIM1" "p=MIGfMA0G ... " "oGeLnQg ... " "tdC2UzJ1lW ... " "MmPSPDdQPNUYckcQ2QIDAQAB")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.