Infoblox: Difference between revisions

From Omnia
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:


Developer Getting Started - https://www.infoblox.com/developer-portal/getting-started/
Developer Getting Started - https://www.infoblox.com/developer-portal/getting-started/
== Host Record ==
"Host records provide a unique approach to the management of DNS, DHCP, and IPAM data. By using host records, you can manage multiple DNS records and DHCP and IPAM data collectively, as one object on the appliance."
"When you create a host record, you are specifying the name-to-address and address-to-name mappings for the IP address that you assign to the host. The Infoblox DNS server then uses this data to respond to DNS queries for the host. When the server receives a name-to-address query, it responds with an A record for an IPv4 host or an AAAA record for an IPv6 host that contains the data from the host record. Likewise, when it receives an address-to-name query for the host, the appliance responds with a PTR record that contains data from the host record."
"Additionally, if you specify an alias in the host record, the appliance uses this data as a CNAME record to respond to queries with the alias. It maps the alias to the canonical name and sends back a response with the canonical name and IP address of the host. Thus, a single host record is equivalent to creating A, PTR, and CNAME resource records for an IPv4 address and AAAA and PTR records for an IPv6 address."
ref: https://docs.infoblox.com/space/nios90/280666779/About+Host+Records


== Import CVF Record Format ==
== Import CVF Record Format ==


Note: "*" indicates REQUIRED fields
=== Asterisk Required Fields ===


Note: * indicates REQUIRED fields
=== CSV Import Reference ===


CSV Import Reference:
  https://docs.infoblox.com/space/nios90/280267255/CSV+File+Format
  https://docs.infoblox.com/space/nios90/280267255/CSV+File+Format


Line 39: Line 52:
** When a value is set to a string with a value of <empty>, the appliance overrides the inherited value with an empty value.
** When a value is set to a string with a value of <empty>, the appliance overrides the inherited value with an empty value.


---
=== Host Record ===
 
Note: A Host Record is made up of a Host Record and a Host Address.


Host Record:
  https://docs.infoblox.com/space/nios90/241729580/Host+Record
  https://docs.infoblox.com/space/nios90/241729580/Host+Record
  <s>https://docs.infoblox.com/space/nios84/44965359/Host+Record</s>
  <s>https://docs.infoblox.com/space/nios84/44965359/Host+Record</s>
Line 49: Line 63:
  hostrecord,100.0.0.101,TRUE,host1.corp100.com,Inital
  hostrecord,100.0.0.101,TRUE,host1.corp100.com,Inital


Host Address
==== Host Address ====
 
https://docs.infoblox.com/space/nios90/280401960/IPv4+Host+Address
 
## Example Host Address ##
header-hostaddress,parent*,address*,mac_address,configure_for_dhcp,domain_name
hostaddres,host1.corp100.com,100.0.0.101,aa:aa:aa:aa:aa:aa,TRUE,corp200.com
 
=== Fixed Address and Reservations ===


Fixed Address and Reservations:
  https://docs.infoblox.com/space/nios90/280268686/IPv4+Fixed+Address%2FReservation
  https://docs.infoblox.com/space/nios90/280268686/IPv4+Fixed+Address%2FReservation
  <s>https://docs.infoblox.com/space/nios84/44507068/IPv4+Fixed+Address%2FReservation</s>
  <s>https://docs.infoblox.com/space/nios84/44507068/IPv4+Fixed+Address%2FReservation</s>
Line 63: Line 84:
  fixedaddress,100.0.0.1,00:00:00:00:00:00,mycomment
  fixedaddress,100.0.0.1,00:00:00:00:00:00,mycomment


CNAME:
## Example Fixed Address ##
header-fixedaddress,ip_address*,mac_address*,comment,name
fixedaddress,100.0.0.1,00:00:00:00:00:00,mycomment,somename
 
=== CNAME ===
 
  https://docs.infoblox.com/space/nios90/280269091/CNAME+Record
  https://docs.infoblox.com/space/nios90/280269091/CNAME+Record
  <s>https://docs.infoblox.com/space/nios84/44965299/CNAME+Record</s>
  <s>https://docs.infoblox.com/space/nios84/44965299/CNAME+Record</s>
Line 71: Line 97:
  cnamerecord,fake.example.com,real.example.com,mycomment
  cnamerecord,fake.example.com,real.example.com,mycomment


A Record:
=== A Record ===
 
  https://docs.infoblox.com/space/nios90/280269130/A+Record
  https://docs.infoblox.com/space/nios90/280269130/A+Record
  <s>https://docs.infoblox.com/space/nios84/44964473/Stub+Zone</s>
  <s>https://docs.infoblox.com/space/nios84/44964473/Stub+Zone</s>
Line 79: Line 106:
  arecord,10.10.10.10,name.example.com,mycomment
  arecord,10.10.10.10,name.example.com,mycomment


PTR Record:
=== PTR Record ===
 
  https://docs.infoblox.com/space/nios90/280269045/PTR+Record
  https://docs.infoblox.com/space/nios90/280269045/PTR+Record


Line 86: Line 114:
  ptrrecord,ptr.corp100.com,1.0.0.100.in-addr.arpa
  ptrrecord,ptr.corp100.com,1.0.0.100.in-addr.arpa


TXT Record:
=== TXT Record ===
 
  https://docs.infoblox.com/space/nios90/280402020/TXT+Record
  https://docs.infoblox.com/space/nios90/280402020/TXT+Record



Latest revision as of 03:18, 11 August 2024

Infoblox Online Documentation

Documentation Site:

https://docs.infoblox.com/

Restricted Confluence Documentation:

https://docs.infoblox.com/display/ILP/NIOS

Note: Requires a login and permissions ^

NIOS 9.0.x Documentation

Not restricted HTML version Documentation:

https://docs.infoblox.com/space/NIOS/35400616/NIOS

Infoblox API Documentation

https://www.infoblox.com/developer-portal/developer-portal-api-documentation/

Developer Getting Started - https://www.infoblox.com/developer-portal/getting-started/

Host Record

"Host records provide a unique approach to the management of DNS, DHCP, and IPAM data. By using host records, you can manage multiple DNS records and DHCP and IPAM data collectively, as one object on the appliance."
"When you create a host record, you are specifying the name-to-address and address-to-name mappings for the IP address that you assign to the host. The Infoblox DNS server then uses this data to respond to DNS queries for the host. When the server receives a name-to-address query, it responds with an A record for an IPv4 host or an AAAA record for an IPv6 host that contains the data from the host record. Likewise, when it receives an address-to-name query for the host, the appliance responds with a PTR record that contains data from the host record."
"Additionally, if you specify an alias in the host record, the appliance uses this data as a CNAME record to respond to queries with the alias. It maps the alias to the canonical name and sends back a response with the canonical name and IP address of the host. Thus, a single host record is equivalent to creating A, PTR, and CNAME resource records for an IPv4 address and AAAA and PTR records for an IPv6 address."

ref: https://docs.infoblox.com/space/nios90/280666779/About+Host+Records

Import CVF Record Format

Asterisk Required Fields

Note: * indicates REQUIRED fields


CSV Import Reference

https://docs.infoblox.com/space/nios90/280267255/CSV+File+Format
  • Use a new line to enter data for each row. Separate each data field with a supported separator, such as a comma, semicolon, space, or tab.
  • Do not include blank lines in the data file.
  • Field names: Specify the field names in the second line. You can include multiple rows of field names as long as you define the fields before the data. The first column in the field name row must be defined as "Header." The rest of the columns are field names of the data. Columns without a field name are ignored. If multiple field names are specified, the latest field names are used to import the data.
  • The appliance uses double quotes (") as the escape characters in CSV import. If you want to include supported separators in a field, you must enclose the data in a pair of double quotes (" "). This applies to the field names and data.
  • All required fields are marked with an asterisk (*) in an exported file.
  • Note that if you want to modify a required field XXX (for either the overwrite or merge function), you must add a corresponding field, new_XXX, to include the new value. For example, "fqdn" is a required field in an A record. If you want to update this field, you must include a new field "_new_fqdn" and define the new value here. The appliance overwrites the existing data in the required field using the values you specify in the new field. Note that the replace function ignores __new_XXX fields in the imported CSV files.
  • When you perform an overwrite function, you must define all boolean and integer data types in each supported object type in order for the appliance to overwrite existing data.
  • Inherited fields: The appliance uses the following conventions to override inherited fields:
    • When a value is specified in a field, the appliance overrides the inherited value with the new value.
    • When a value is set to " " or an empty value, the appliance does not override the inherited value.
    • When a value is set to a string with a value of <empty>, the appliance overrides the inherited value with an empty value.

Host Record

Note: A Host Record is made up of a Host Record and a Host Address.

https://docs.infoblox.com/space/nios90/241729580/Host+Record
https://docs.infoblox.com/space/nios84/44965359/Host+Record
## Example Host Record ##
header-hostrecord,addresses,configure_for_dns*,fqdn*,view
hostrecord,100.0.0.101,TRUE,host1.corp100.com,Inital

Host Address

https://docs.infoblox.com/space/nios90/280401960/IPv4+Host+Address
## Example Host Address ##
header-hostaddress,parent*,address*,mac_address,configure_for_dhcp,domain_name
hostaddres,host1.corp100.com,100.0.0.101,aa:aa:aa:aa:aa:aa,TRUE,corp200.com

Fixed Address and Reservations

https://docs.infoblox.com/space/nios90/280268686/IPv4+Fixed+Address%2FReservation
https://docs.infoblox.com/space/nios84/44507068/IPv4+Fixed+Address%2FReservation
## Example Fixed Address ##
header-fixedaddress,ip_address*,mac_address*,match_option,ms_server,remote_id,EA-Site,network_view
fixedaddress,100.0.0.1,aa:aa:aa:aa:aa:aa,MAC_ADDRESS,xyz,USA,Default
## Example Reservation ##
header-fixedaddress,ip_address*,mac_address*,comment
fixedaddress,100.0.0.1,00:00:00:00:00:00,mycomment
## Example Fixed Address ##
header-fixedaddress,ip_address*,mac_address*,comment,name
fixedaddress,100.0.0.1,00:00:00:00:00:00,mycomment,somename

CNAME

https://docs.infoblox.com/space/nios90/280269091/CNAME+Record
https://docs.infoblox.com/space/nios84/44965299/CNAME+Record
## Example CNAME Record CSV File ##
header-cnamerecord,fqdn*,canonical_name*,comment
cnamerecord,fake.example.com,real.example.com,mycomment

A Record

https://docs.infoblox.com/space/nios90/280269130/A+Record
https://docs.infoblox.com/space/nios84/44964473/Stub+Zone
## Example A Record CSV File: (Sample excel for import.csv)
header-arecord,address*,fqdn*,comment
arecord,10.10.10.10,name.example.com,mycomment

PTR Record

https://docs.infoblox.com/space/nios90/280269045/PTR+Record
## Example PTR Record ##
header-ptrrecord,dname*,fqdn
ptrrecord,ptr.corp100.com,1.0.0.100.in-addr.arpa

TXT Record

https://docs.infoblox.com/space/nios90/280402020/TXT+Record
## Example TXT Record ##
header-txtrecord,fqdn*,text,ttl 
txtrecord,bind_txt.corp100.com,"this is a TXT record",3600

Sample PTR

header-ptrrecord,dname*,address,view,comment,fqdn,creator,ddns_protected,disabled
ptrrecord,example1.my.domain,10.20.30.40,Internal,my_comment_1,40.30.20.10.in-addr.arpa,STATIC,FALSE,FALSE
ptrrecord,example2.my.domain,10.20.30.41,Internal,my_comment_2,41.30.20.10.in-addr.arpa,STATIC,FALSE,FALSE

keywords