Introduction:
Excerpt |
---|
There was a port scanner attack on the printers with external DNS which cause them to print random printouts. In order to prevent this from happening again, the external DNS addresses for printers are to be removed. The following are instructions for the procedure to create a CSV file for bulk updates. Bluecat (Proteus) allows bulk DNS updates with a CSV file. Each line in the comma-separated value (CSV) file represents a resource record. A line break must follow each line, and the file may contain up to 5000 lines. The comma-separated values represent columns of data, but the CSV file must not contain column headings. EXAMPLE: action, recordname, TTL, recordtype, rdata, comment, user-defined field name=value, user-defined field name n=value,... |
Instructions:
Expand |
---|
...
|
...
| ||
Here is the guide provided directly from BlueCat. This guide should be used as a reference |
...
- add creates a new resource record.
- update changes only the TTL, comment, and user-defined fields for most resource record types. For CNAME records, update changes only the host record to which the CNAME record points. For A records, update ignores any change made to the record’s IPv4 address.
- delete deletes resource records. If a record is not found in Proteus, a file-not-found error is logged in the server log. To delete records that contain multiple IP addresses, specify the address with an * asterisk.
RecordName:
The name of the resource record. This column must be present and may or may not contain a value:
- When performing a bulk update at the zone level, this column can be blank to give the resource record the same name as the zone. The name of the record appears in Proteus as (Same as Zone).
- When performing a bulk update at the view level, this column must contain a value. Bulk DNS Update cannot create records with (Same as Zone) for the record name from the view level.
How you specify record names depends on from where you want to perform the bulk update:
- When performing the bulk update at the view level, specify FQDNs. Proteus assumes that all record names are not dot-separated.
For example, add, host1.example.com., 3600, A, 192.168.0.2 adds the host record host1.example.com. - When performing the bulk update at the zone level, specify record names as relative names or FQDNs(Fully Qualified Domain Names). Names ending with a dot are considered as absolute names which should not contain dot-separated named. Names not ending with a dot are considered as relative names and can contain a dot.
For example, add, host2, 3600, A, 192.168.0.3 adds the host record host2.example.com.
For example, add, host3.example.com., 3600, A, 192.168.0.4 adds the host record host3.example.com.
TTL:
The time-to-live value, in seconds, for the resource record. This column must be present but may be left blank. To leave a column blank, leave a space between the commas that delimit the column.
Record Type:
The type of resource record. Valid values are A, CNAME, MX, SRV, HINFO, TXT, and NAPTR. The following generic record types are also valid: A6, AAAA, AFSDB, APL, CERT, DNAME, DNSKEY, DS, ISDN, KEY, KX, LOC, MB, MG, MINFO, MR, NS, NSAP, PX, RP, RT, SINK, SSHFP, WKS, or X25. This column must be present and must contain a value.
Rdata:
The data to define the resource record. Where multiple parameters are specified for the rdata, the values are separated with a space. This column must be present and must contain a value.
Comment:
User-Defined Field Name:
...
Creating the CSV File:
Additional Information:
...
for creating the CSV file with the proper functionality. |
Expand | ||||
---|---|---|---|---|
| ||||
Creating the CSV File:The rundown for how the columns are formatted: 1st – Action ; 2nd – RecordName ; 3rd – TTL; 4th – RecordType; 5th – Rdata *Please refer to the guide to populate the fields with the proper information.
|