Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add dig lookup functionality #14

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

laurynasgadl
Copy link
Member

Adds a new method lookup to the dig client, that allows the use of additional options and queries with the dig command.
Example:

$result = $client->lookup(
    $domain,
    $type,
    new DigOptions(
        server: '8.8.8.8',
    ),
    new DigQuery(
        all: false,
        answer: true,
    ),
);

Also, increases the minimum PHP version requirement to 8.1 from 8.0

Copy link

@MantasPetrauskas93 MantasPetrauskas93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@laurynasgadl laurynasgadl merged commit 1ea6303 into master Aug 27, 2024
@laurynasgadl laurynasgadl deleted the feat/add-dig-lookup-func branch August 27, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants