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

badsys #3529

Open
lUNuXl opened this issue Oct 4, 2022 · 3 comments
Open

badsys #3529

lUNuXl opened this issue Oct 4, 2022 · 3 comments

Comments

@lUNuXl
Copy link

lUNuXl commented Oct 4, 2022

File pages/web/domains/dns_dynhost/guide.en-ie.md doesn't explain any error(s) and etc. of the mentioned endpoint.

Right now I'm stuck pulling my hair out and trying to figure out what badsys response with HTTP status code of 200 mean. There isn't even a curl command example given.

The IP of my subdomain didn't change in the panel, dig still points to the old IP I've set manually in the panel and google returns no useful results.

Java code (okHttp library) that repoduces my issue:

    public void updateDnsOkHttp(String name, String target) throws Exception {
        log.info("Creating okHttp request");
        OkHttpClient client = new OkHttpClient();

        RequestBody body = RequestBody.create(null, new byte[0]);
        final String url = baseUrl.replaceFirst("HOSTNAME", name + "." + configuration.BASE_DOMAIN).replaceFirst("IP", target);
        Request request = new Request.Builder()
                .url(url)
                .post(body)
                .header("Content-Length", "0")
                .header("Authorization", Credentials.basic(configuration.OVH_USER, configuration.OVH_PASSWORD))
                .build();

        log.info("Executing request to: {}", url);
        Response response = client.newCall(request).execute();

        final String str = response.body().string();
        log.info("Got response: {}", str);

        final int code = response.code();
        log.info("Got response code: {}", code);

        if(code != 200) {
            throw new Exception("Couldn't update DNS record, response code: " + code);
        }
        if(str.startsWith("badsys")) {
            throw new Exception("Couldn't update DNS record");
        }
    }
    ```
@OVH-Team-Guides
Copy link
Collaborator

Hi IUNuXI,

The objective of this guide is to explain the basic actions that need to be realized in the OVHcloud Control Panel to begin setting up a DynHost for an OVHcloud domain name.
We can't provide you with more information on the operations about using third-party softwares or scripts.
As indicated in the Step 3 paragraph of the guide, "You will need to rely on your own knowledge to set up and configure the client. We have provided general information on how to proceed below. Nevertheless, we recommend contacting a specialist provider if you encounter any difficulties. We will not be able to assist you with this ourselves. "

Our services did a rapid analysis of your issue though, the "badsys" response is returned only with the following: if $system ne "dyndns".

Best regards,
The OVHcloud Guides team

@THE-EL-SANTO
Copy link

THE-EL-SANTO commented Apr 18, 2023

The OVHcloud Guides team

Hi, unfortunately I also have the problem that when I try to change the IP of my DynHost at OVH I get a badsys.

For the execution a router of the Telekom (Speedport Smart 4, Firmware: 010139.3.1.001.0) is used.

From Telekom I was told, by very nice service staff, that there would probably be problems because OVH uses system=dyndns and that would not be dynDNS compliant. Here is the whole conversation in the Telekom-Hilft forum. Where, by the way, someone else has the problem!

The service at OVH was unfortunately very unpleasant in this regard! My explicit questions were not answered and I was made out as not capable enough to configure the router correctly... In addition, there was a reference to IT partners in my area that should help me. This was followed directly by the closing of the ticket. So that does not have to be real or? I've been an OVH customer for a long time and was once very satisfied but in recent years, the support has decreased extremely! Too bad! :(

So please be so good and make sure that you can update without system=dyndns. Must be possible.

@OVH-Team-Guides
Copy link
Collaborator

Hello @THE-EL-SANTO,
Sorry to read that. Can you please provide us with the related ticket number?
Regarding the issue you're facing, we'll forward it to our dedicated team.
Best regards,
The OVHcloud Guides team

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

No branches or pull requests

3 participants