#1752 - Added web_browser.py application for DNS modelling

This commit is contained in:
SunilSamra
2023-08-17 14:20:09 +01:00
parent 72cd9fd8e2
commit 2919be3796
2 changed files with 80 additions and 3 deletions

View File

@@ -5,17 +5,18 @@ from typing import Optional
from pydantic import BaseModel
"""
class DNSEntry(BaseModel):
"""
Represents an entry in the DNS cache.
:param domain_name: The domain name which a node would like to access.
:param ip_address: The IP address through which the domain name is reachable.
"""
domain_name: str
ip_address: IPv4Address
"""
class DNSRequest(BaseModel):