dnsApp.config 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "networks": {
  3. "custom-networks": [
  4. "172.16.1.0/24",
  5. "172.16.10.0/24",
  6. "172.16.2.1"
  7. ]
  8. },
  9. "enableAddressTranslation": false,
  10. "networkGroupMap": {
  11. "10.0.0.0/8": "local1",
  12. "172.16.0.0/12": "local2",
  13. "192.168.0.0/16": "local3"
  14. },
  15. "groups": [
  16. {
  17. "name": "local1",
  18. "enabled": true,
  19. "translateReverseLookups": true,
  20. "externalToInternalTranslation": {
  21. "1.2.3.0/24": "10.0.0.0/24",
  22. "5.6.7.8": "10.0.0.5"
  23. }
  24. },
  25. {
  26. "name": "local2",
  27. "enabled": true,
  28. "translateReverseLookups": true,
  29. "externalToInternalTranslation": {
  30. "1.2.3.4": "172.16.0.4",
  31. "5.6.7.8": "172.16.0.5"
  32. }
  33. },
  34. {
  35. "name": "local3",
  36. "enabled": true,
  37. "translateReverseLookups": true,
  38. "externalToInternalTranslation": {
  39. "1.2.3.4": "192.168.0.4",
  40. "5.6.7.8": "192.168.0.5"
  41. }
  42. }
  43. ]
  44. }