Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1300515
00_settings.rb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 19, 2:09 PM
Size
1 KB
Mime Type
text/plain
Expires
Fri, Nov 21, 2:09 PM (3 h, 55 m)
Engine
blob
Format
Raw Data
Handle
293104
Attached To
rWEBDNS WebDNS (edet4)
00_settings.rb
View Options
WebDNS
.
settings
[
:soa_defaults
]
=
{
primary_ns
:
'ns1.example.com'
,
contact
:
'domainmaster@example.com'
,
serial
:
1
,
refresh
:
10_800
,
retry
:
3600
,
expire
:
604_800
,
nx
:
3600
}
WebDNS
.
settings
[
:default_ns
]
=
[
'ns1.example.com'
,
'ns2.example.com'
]
WebDNS
.
settings
[
:dnssec
]
=
true
WebDNS
.
settings
[
:dnssec_parent_authorities
]
=
{
webdns
:
{
valid
:
->
(
parent
)
{
Domain
.
find_by_name
(
parent
)
}
# Check if parent is self-hosted
},
papaki
:
{
valid
:
->
(
parent
)
{
parent
.
split
(
'.'
)
.
size
==
1
}
# TLDs
}
}
WebDNS
.
settings
[
:dnssec_ds_removal_sleep
]
=
14400
*
2
# Testing helper
WebDNS
.
settings
[
:dnssec_parent_authorities
].
merge!
(
test_authority
:
{
valid
:
->
(
parent
)
{
true
}
}
)
if
Rails
.
env
.
test?
WebDNS
.
settings
[
:serial_strategy
]
=
Strategies
::
Date
WebDNS
.
settings
[
:prohibit_records_types
]
=
[]
WebDNS
.
settings
[
:prohibit_domain_types
]
=
[
'NATIVE'
]
WebDNS
.
settings
[
:contact_mail
]
=
'webdns@example.com'
WebDNS
.
settings
[
:mail_from
]
=
'webdns@example.com'
WebDNS
.
settings
[
:admin_group
]
=
'admin'
WebDNS
.
settings
[
:saml
]
=
false
WebDNS
.
settings
[
:saml_required_entitlement
]
=
'webdns'
WebDNS
.
settings
[
:saml_login_text
]
=
'Login with SAML'
WebDNS
.
settings
[
:api
]
=
true
# Allow local overrides
local_settings
=
File
.
expand_path
(
'../../local_settings.rb'
,
__FILE__
)
require_relative
local_settings
if
File
.
exist?
(
local_settings
)
Event Timeline
Log In to Comment