A zone refers to a root domain such as "example.org" or "example.net"). It does not refer to fully qualified domain names (FQDNs) such as "www.example.org" or "images.example.net". Marins correlates records from different sources based on their zone. This will add a new zone for Mar
(zone)
| 348 | |
| 349 | |
| 350 | def create_zone(zone): |
| 351 | """ |
| 352 | A zone refers to a root domain such as "example.org" or "example.net"). |
| 353 | It does not refer to fully qualified domain names (FQDNs) such as "www.example.org" or "images.example.net". |
| 354 | Marins correlates records from different sources based on their zone. |
| 355 | This will add a new zone for Marinus to track in the zones collection. |
| 356 | """ |
| 357 | ZI = ZoneIngestor.ZoneIngestor() |
| 358 | |
| 359 | print("Adding zone: " + zone) |
| 360 | ZI.add_zone(zone) |
| 361 | |
| 362 | |
| 363 | def create_IPv4_zone(mongo_collection, cidr): |