|
464 | 464 | "upd_privateip": {
|
465 | 465 | "type": "boolean",
|
466 | 466 | "title": "upd_privateip",
|
| 467 | + "description": "disallow/allow sending of private/special IP's to the DDNS provider; " |
| 468 | + "blocked IPv4: 0/8, 10/8, 100.64/10, 127/8, 169.254/16, 172.16/12, " |
| 469 | + "192.168/16; blocked IPv6: ::/32, f000::/4", |
467 | 470 | "default": False,
|
468 | 471 | "format": "checkbox",
|
469 | 472 | "propertyOrder": 1,
|
470 | 473 | },
|
471 | 474 | "ddns_dateformat": {
|
472 | 475 | "type": "string",
|
473 | 476 | "title": "ddns_dateformat",
|
| 477 | + "description": "date format to use for displaying dates in logfiles and LuCI", |
474 | 478 | "default": "%F %R",
|
475 | 479 | "propertyOrder": 2,
|
476 | 480 | },
|
477 | 481 | "ddns_rundir": {
|
478 | 482 | "type": "string",
|
479 | 483 | "title": "ddns_rundir",
|
| 484 | + "description": "directory to use for *.pid and *.update files", |
480 | 485 | "default": "/var/run/ddns",
|
481 | 486 | "propertyOrder": 3,
|
482 | 487 | },
|
483 | 488 | "ddns_logdir": {
|
484 | 489 | "type": "string",
|
485 | 490 | "title": "ddns_logdir",
|
| 491 | + "description": "directory to use for *.log files", |
486 | 492 | "default": "/var/log/ddns",
|
487 | 493 | "propertyOrder": 4,
|
488 | 494 | },
|
489 | 495 | "ddns_loglines": {
|
490 | 496 | "type": "integer",
|
491 | 497 | "title": "ddns_loglines",
|
| 498 | + "description": "number of lines stored in *.log files before automatically truncated", |
492 | 499 | "default": 250,
|
493 | 500 | "propertyOrder": 5,
|
494 | 501 | },
|
495 | 502 | "use_curl": {
|
496 | 503 | "type": "boolean",
|
497 | 504 | "title": "use_curl",
|
| 505 | + "description": "if both wget and curl are installed, wget is used for communication " |
| 506 | + "by default", |
498 | 507 | "default": False,
|
499 | 508 | "format": "checkbox",
|
500 | 509 | "propertyOrder": 6,
|
|
529 | 538 | "interface": {
|
530 | 539 | "type": "string",
|
531 | 540 | "title": "interface",
|
| 541 | + "description": "network from /etc/config/network to monitor for up/down " |
| 542 | + "events to start the ddns update script via hotplug", |
532 | 543 | "propertyOrder": 2,
|
533 | 544 | },
|
534 | 545 | "ip_source": {
|
535 | 546 | "type": "string",
|
536 | 547 | "title": "ip_source",
|
| 548 | + "description": "specifies the source to detect the local IP: 'network' uses " |
| 549 | + "'ip_network', 'web' uses 'ip_url', 'interface' uses " |
| 550 | + "'ip_interface', 'script' uses 'ip_script'", |
| 551 | + "enum": [ |
| 552 | + "network", |
| 553 | + "web", |
| 554 | + "interface", |
| 555 | + "script" |
| 556 | + ], |
537 | 557 | "default": "network",
|
538 | 558 | "propertyOrder": 3,
|
539 | 559 | },
|
540 | 560 | "lookup_host": {
|
541 | 561 | "type": "string",
|
542 | 562 | "title": "lookup_host",
|
| 563 | + "description": "FQDN of the host registered at the DDNS provider", |
543 | 564 | "propertyOrder": 4,
|
544 | 565 | },
|
545 | 566 | "domain": {
|
546 | 567 | "type": "string",
|
547 | 568 | "title": "domain",
|
| 569 | + "description": "the DNS name to update; this property can also be used for " |
| 570 | + "special multihost update configurations supported by" |
| 571 | + " some providers", |
548 | 572 | "propertyOrder": 5,
|
549 | 573 | },
|
550 | 574 | "username": {
|
551 | 575 | "type": "string",
|
552 | 576 | "title": "username",
|
| 577 | + "description": "username of the DDNS service account", |
553 | 578 | "propertyOrder": 6,
|
554 | 579 | },
|
555 | 580 | "password": {
|
556 | 581 | "type": "string",
|
557 | 582 | "title": "password",
|
| 583 | + "description": "password of the DDNS service account", |
558 | 584 | "propertyOrder": 7,
|
559 | 585 | },
|
560 | 586 | "service_name": {
|
561 | 587 | "type": "string",
|
562 | 588 | "title": "service_name",
|
| 589 | + "description": "name of the DDNS service to use", |
563 | 590 | "propertyOrder": 8,
|
564 | 591 | },
|
565 | 592 | "update_url": {
|
566 | 593 | "type": "string",
|
567 | 594 | "title": "update_url",
|
| 595 | + "description": "url to the DDNS service to use if 'service_name' is not set", |
568 | 596 | "propertyOrder": 9,
|
569 | 597 | },
|
570 | 598 | "update_script": {
|
571 | 599 | "type": "string",
|
572 | 600 | "title": "update_script",
|
| 601 | + "description": "script to use if 'service_name' is not set", |
573 | 602 | "propertyOrder": 10,
|
574 | 603 | },
|
| 604 | + "ip_network": { |
| 605 | + "type": "string", |
| 606 | + "title": "ip_network", |
| 607 | + "description": "network from /etc/config/network to use for detecting the IP " |
| 608 | + "if 'ip_source' is set to 'network'", |
| 609 | + "default": "wan", |
| 610 | + "propertyOrder": 11, |
| 611 | + }, |
| 612 | + "ip_url": { |
| 613 | + "type": "string", |
| 614 | + "title": "ip_url", |
| 615 | + "description": "url to use for detecting the IP if 'ip_source' is set to " |
| 616 | + "'web'", |
| 617 | + "propertyOrder": 12, |
| 618 | + }, |
575 | 619 | "ip_interface": {
|
576 | 620 | "type": "string",
|
577 | 621 | "title": "ip_interface",
|
578 |
| - "propertyOrder": 11, |
| 622 | + "description": "local interface to use for detecting the IP if 'ip_source' is" |
| 623 | + " set to 'interface'", |
| 624 | + "propertyOrder": 13, |
| 625 | + }, |
| 626 | + "ip_script": { |
| 627 | + "type": "string", |
| 628 | + "title": "ip_script", |
| 629 | + "description": "script to use for detecting the IP if 'ip_source' is set to " |
| 630 | + "'script'", |
| 631 | + "propertyOrder": 14, |
579 | 632 | },
|
580 | 633 | "use_syslog": {
|
581 | 634 | "type": "integer",
|
582 | 635 | "title": "use_syslog",
|
| 636 | + "description": "level of events logged to syslog", |
583 | 637 | "enum": [
|
584 | 638 | "disable",
|
585 | 639 | "info, notice, warning, errors",
|
|
588 | 642 | "errors"
|
589 | 643 | ],
|
590 | 644 | "default": 0,
|
591 |
| - "propertyOrder": 12, |
| 645 | + "propertyOrder": 15, |
592 | 646 | },
|
593 | 647 | "use_logfile": {
|
594 | 648 | "type": "boolean",
|
595 | 649 | "title": "use_logfile",
|
| 650 | + "description": "disable/enable logging to logfile", |
596 | 651 | "default": True,
|
597 |
| - "propertyOrder": 13, |
| 652 | + "propertyOrder": 16, |
598 | 653 | }
|
599 | 654 | }
|
600 | 655 | }
|
|
0 commit comments