Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,10 +18,10 @@ def dns_lookup(domain, record_type):
|
|
18 |
iface = gr.Interface(
|
19 |
fn=dns_lookup,
|
20 |
inputs=[
|
21 |
-
gr.
|
22 |
-
gr.
|
23 |
],
|
24 |
-
outputs=
|
25 |
title="DNS Resolver",
|
26 |
description="Enter a domain name and select a DNS record type to perform a DNS lookup."
|
27 |
)
|
|
|
18 |
iface = gr.Interface(
|
19 |
fn=dns_lookup,
|
20 |
inputs=[
|
21 |
+
gr.Textbox(lines=1, placeholder="example.com", label="Domain Name"),
|
22 |
+
gr.Dropdown(choices=supported_types, value='A', label="Record Type")
|
23 |
],
|
24 |
+
outputs=gr.Textbox(),
|
25 |
title="DNS Resolver",
|
26 |
description="Enter a domain name and select a DNS record type to perform a DNS lookup."
|
27 |
)
|